Intsalling wxPython

Sepi Gh adm2303.2304 at gmail.com
Tue Apr 7 05:27:42 CEST 2015


On Monday, 6 April 2015 22:54:26 UTC-4, Sepi  wrote:
> Hi,
> 
> I installed wxpython through command line but when I want to use it, python gives me an error:  File "/Users/sepidehghanavati/Desktop/test.py", line 1, in <module>
>     import wx
> ImportError: No module named 'wx'
> 
> When I check my python path it is version 3.3 (/Library/Frameworks/Python.framework/Versions/3.3/) but when I try to install wxpython via python setup.py install --user it installs in /Users/sepidehghanavati/Library/Python/2.7/bin/
> 
> I don't know how to change this.

I got the answer! Just using python 3 instead of python in the command line



More information about the Python-list mailing list