Re: Re: missing jsc.h when building wxpython

Roel Dijkema <[email protected]> Fri, 5 Oct 2018 11:13:39 +0200
Newsgroups gmane.comp.python.wxpython.devel
Message-ID <[email protected]>
Hi Robin,

I adapted my script:

     sudo apt-get -y install dpkg-dev build-essential python3.6-dev
     sudo apt-get -y install libjpeg-dev libtiff-dev libpng-dev 
libxtst-dev libsdl1.2-dev libsdl2-dev
     sudo apt-get -y install libgstreamer-plugins-base1.0-dev
     sudo apt-get -y install libnotify-dev freeglut3 freeglut3-dev 
libgtk2.0-dev libsm-dev libgtk-3-dev
     sudo apt-get -y install libwebkitgtk-dev libwebkitgtk-3.0-dev
     #sudo apt-get -y install libwebkit2gtk-4.0-dev
     #sudo apt-get -y install python-wxgtk3.0-dev python-wxversion 
python-wxtools

The outcommented lines...I uninstalled those packages. After that:

Collecting wxPython
   Using cached 
https://files.pythonhosted.org/packages/dd/31/bd55ab40e406a026a7fda0bb5eb61f466682544ae91ac26267c750f5e618/wxPython-4.0.3.tar.gz
Requirement already up-to-date: PyPubSub in 
/usr/local/lib/python3.6/dist-packages (from wxPython)
Requirement already up-to-date: six in /usr/lib/python3/dist-packages 
(from wxPython)
Building wheels for collected packages: wxPython
   Running setup.py bdist_wheel for wxPython ... done
   Stored in directory: 
/root/.cache/pip/wheels/f5/dc/99/ee2a2d2c76e7e2d24a6e6d8750f3907b2e77dbf31d61a03a59
Successfully built wxPython
Installing collected packages: wxPython
Successfully installed wxPython-4.0.3

I use pycharm as IDE and it found wxpython. So mission completed 
successfully! Thank you.

Kind regards, Roel



On 10/04/2018 06:30 PM, Robin Dunn wrote:
> On Thursday, October 4, 2018 at 8:47:05 AM UTC-7, Roel Dijkema wrote:
>
>     I have a 32bit pc with mint 19 running. No problem there. For
>     installing wxpython I run this bash-script:
>
>
> It took me a minute to realize why it is trying to build the wheel 
> instead of just using the existing ones at the URL you give pip. I 
> didn't think there were many new installs using 32-bit linuxes these 
> days. Just curious why are you using that instead of 64-bit?
>
>         sudo apt-get -y install libgtk-3-dev libwebkitgtk-dev
>     libwebkitgtk-3.0-dev libwebkit2gtk-4.0-dev
>
>
> I don't install libwebkit2gtk-4.0-dev in the build VM for 
> Ubuntu-18.04, you may want to try without it. It could be causing some 
> confusion somewhere in the build.
>
>         sudo apt-get -y install python-wxgtk3.0-dev python-wxversion
>     python-wxtools
>
>
> You won't need these unless you also want wxPython classic installed. 
> And if that's the case then you probably don't want to install 
> wxPython4 directly in the master Python environment as they could 
> conflict. Instead you could build the wheel for wxPython4 and then 
> install it in Python venvs where you need it.
>
> --
> Robin
>
>
> -- 
> You received this message because you are subscribed to the Google 
> Groups "wxPython-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send 
> an email to [email protected] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout.

-- 
Met vriendelijke groet

Roel Dijkema

-- 
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.