Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.009 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'syntax': 0.04; 'error:': 0.07; 'importerror:': 0.07; '"please': 0.09; 'rewrite': 0.09; 'setup.py': 0.09; 'python': 0.11; 'skip:" 70': 0.16; 'syntaxerror:': 0.16; 'wxpython': 0.16; 'wrote:': 0.18; 'module': 0.19; 'command': 0.22; 'import': 0.22; 'email addr:gmail.com>': 0.22; 'print': 0.22; 'install': 0.23; 'error': 0.23; 'specify': 0.24; '>': 0.26; 'skip:" 20': 0.27; 'header:In-Reply-To:1': 0.27; 'installed': 0.27; "doesn't": 0.30; 'message- id:@mail.gmail.com': 0.30; 'gives': 0.31; 'getting': 0.31; '"please': 0.31; 'skip:( 50': 0.31; 'file': 0.32; 'this.': 0.32; 'monday,': 0.33; 'skip:& 30': 0.33; 'but': 0.35; 'received:google.com': 0.35; 'version': 0.36; 'hi,': 0.36; 'skip:& 10': 0.38; 'stable': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'release': 0.40; 'how': 0.40; 'complete': 0.62; 'hear': 0.63; 'invalid': 0.68; 'now:': 0.74; '2015': 0.84; 'phoenix': 0.84; 'skip:& 80': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=A7T9s318iXRXORaFs94Xvu0AdzYu+BnDfkIfh0ZhTpE=; b=uP1cltj3Hj2Sgbn+jVeVE+/riGd20Ukl4QsnYMsDpkt1qV9UYMffKNqEilQ0AyK2X5 SS19x84hK3cDOfD3Zw5O7dLpH5J5cR8PrhAdVbJ3K+4s362MEivOFaWWkN90EJP0oXpb vJtcts6DOVgDWb+vKND7e+V8bpLwpG6BEBZ/JSP+3SFf84HqrmIcJlkBBJMG6B9nPX9E Z/RndKapmvqXB80OQzGgR1sSCgYIYx84xqc2EI5BH/LGhkVpkHh0p3Y/hj2wqAG4Vu8j hDidhN0mx37qe+unOVJqWvGX3EqkrT5C3yNkvJHm8lklfK+BRYMXJ3WtpFZACwIteyaE hqXA== MIME-Version: 1.0 X-Received: by 10.50.111.10 with SMTP id ie10mr932549igb.15.1428383282991; Mon, 06 Apr 2015 22:08:02 -0700 (PDT) In-Reply-To: References: Date: Mon, 6 Apr 2015 23:08:02 -0600 Subject: Re: Intsalling wxPython From: Ian Kelly To: Python Content-Type: multipart/alternative; boundary=089e0149c0542f9b8905131b6672 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 75 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1428383285 news.xs4all.nl 2879 [2001:888:2000:d::a6]:36261 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:88564 --089e0149c0542f9b8905131b6672 Content-Type: text/plain; charset=UTF-8 On Apr 6, 2015 9:31 PM, "Sepi Gh" wrote: > > On Monday, 6 April 2015 23:27:54 UTC-4, Sepi Gh wrote: > > 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//Desktop/test.py", line 1, in > > > 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 wxPython classic doesn't support Python 3. You can try using wxPython Phoenix which is a complete rewrite that does support Python 3. It doesn't have a stable release yet, although I hear it's getting close. --089e0149c0542f9b8905131b6672 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On Apr 6, 2015 9:31 PM, "Sepi Gh" <adm2303.2304@gmail.com> wrote:
>
> On Monday, 6 April 2015 23:27:54 UTC-4, Sepi Gh=C2=A0 wrote:
> > On Monday, 6 April 2015 22:54:26 UTC-4, Sepi=C2=A0 wrote:
> > > Hi,
> > >
> > > I installed wxpython through command line but when I want to= use it, python gives me an error:=C2=A0 File "/Users//Desktop/test.py= ", line 1, in <module>
> > >=C2=A0 =C2=A0 =C2=A0import wx
> > > ImportError: No module named 'wx'
> > >
> > > When I check my python path it is version 3.3 (/Library/Fram= eworks/Python.framework/Versions/3.3/) but when I try to install wxpython v= ia python setup.py install --user it installs in /UsersLibrary/Python/2.7/b= in/
> > >
> > > I don't know how to change this.
> >
> > I got the answer! Just using python 3 instead of python in the co= mmand line
>
> But I get this error now:=C2=A0 File "/Users//Library/Python/3.3/= lib/python/site-packages/wx_py/PyWrap.py", line 27
> =C2=A0 =C2=A0 print "Please specify a module name."
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^
> SyntaxError: invalid syntax

wxPython classic doesn't support Python 3. You can try u= sing wxPython Phoenix which is a complete rewrite that does support Python = 3. It doesn't have a stable release yet, although I hear it's getti= ng close.

--089e0149c0542f9b8905131b6672--