Well that's disappointing. The project I'm working on is in PsychoPy and its ui seems to be based on wxPython. I was really hoping this was a matter of me messing up the install somehow!
Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Latest posts made by HungryGuy
-
RE: How to install wxPython?
-
How to install wxPython?
Pretty new to Python, and Pythonista so there is a lot that I don't know. I installed StaSh and pip and installed wxpython using pip. However, when I try to import wx I get an error:
>>>import wx Traceback (most recent call last): File "<string>", line 1, in <module> File "/private/var/mobile/Containers/Shared/AppGroup/41999424-C8C1-4E26-9BDF-88B75C5BAFEA/Pythonista3/Documents/site-packages/wx/__init__.py", line 18, in <module> from wx.core import * File "/private/var/mobile/Containers/Shared/AppGroup/41999424-C8C1-4E26-9BDF-88B75C5BAFEA/Pythonista3/Documents/site-packages/wx/core.py", line 12, in <module> from ._core import * ImportError: No module named _core
Is it possible to get wx working? From what I've read, Pythonista isn't able to use modules with C code and it sounds like wxPython is based off of some C code. However, this FAQ (http://omz-software.com/pythonista/docs/faq/gui.html#wxwidgets) mentions wxPython in a way that implies wxPython can be used in Pythonista. Anyway, I'm not sure if I've installed this incorrectly or if it simply is not possible to use in Pythonista at the moment.