Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #88561

Intstalling wxPything

Newsgroups comp.lang.python
Date 2015-04-06 20:41 -0700
Message-ID <ff239e27-975f-4bee-8f8f-07686fc50a47@googlegroups.com> (permalink)
Subject Intstalling wxPything
From Sepi <adm2303.2304@gmail.com>

Show all headers | View raw


Hi, 

I installed wxpython through command line but when I want to use it, python gives me an error:  File "/Users//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 /UsersLibrary/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 

But I get this error now:  File "/Users//Library/Python/3.3/lib/python/site-packages/wx_py/PyWrap.py", line 27 
    print "Please specify a module name." 
                                        ^ 
SyntaxError: invalid syntax 

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Intstalling wxPything Sepi <adm2303.2304@gmail.com> - 2015-04-06 20:41 -0700

csiph-web