Unable to install wxpython in pycharm on OpenSuSE

Patrick Headley <[email protected]> Sun, 11 Feb 2018 16:09:41 -0800 (PST)
Newsgroups gmane.comp.python.wxpython.devel
Message-ID <[email protected]>
 

I'm running OpenSuSE 42.3 64 bit. Trying to learn GUI development for 
Python. I started with Kivy but that seems to be kind of a difficult place 
to start so I decided to try wxpython. Here's what I've already installed, 
in addition to the version(s) of python that came with OpenSuSE 42.3, that 
I can remember:

python-wxWidgets-3_0-devel

python-devel

python3-devel

A bunch of dependencies named in a document regarding the installation on 
Ubuntu.

pyCharm

I installed some items based on the error messages reported back by pip, 
such as the patterns for Base Development, Integrated Development 
Environment, Python 3 Development and Python Development.


At first, wxWidgets worked when I used it in the Hello World application 
written in a text editor but not within pyCharm. Tried to install wxWidgets 
from within pyCharm but that failed. I have been able to change the error 
message in the pyCharm installation by installing different dependencies. 
I've actually got pip to succeed when running outside of pyCharm but 
installing from within pyCharm still fails.


The current situation is that I've now tried so many different things that 
I don't know what I've tried and ultimately, nothing is working.


This is what I now see when running the installation in pip3.


sudo pip3 install --upgrade --pre -f 
https://wxpython.org/Phoenix/snapshot-builds/ wxPython 
[sudo] password for root: 
Requirement already up-to-date: wxPython in 
/usr/lib64/python3.4/site-packages
Requirement already up-to-date: six in /usr/lib/python3.4/site-packages 
(from wxPython)

Still doesn't work in pyCharm with the following error:


/tmp/pycharm-packaging/wxPython/ext/wxWidgets/include/wx/platform.h:183:22: 
fatal error: wx/setup.h: No such file or directory


Is there a complete document for installing wxpython into pyCharm on 
OpenSuSE 42.3 or can someone create such a document? I would like to get it 
successfully installed and also not install a bunch of packages that aren't 
required.




-- 
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.