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


Groups > comp.lang.python > #88564

Re: Intsalling wxPython

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 <ian.g.kelly@gmail.com>
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; '&quot;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&gt;': 0.22; 'print': 0.22; 'install': 0.23; 'error': 0.23; 'specify': 0.24; '&gt;': 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 <ff225f2b-94ed-4774-9d75-20b2253c5be0@googlegroups.com>
References <cd450cad-fa22-4769-b14b-961a60d98d4c@googlegroups.com> <d858cc51-7e8e-4d04-86fe-feff6872f2cd@googlegroups.com> <ff225f2b-94ed-4774-9d75-20b2253c5be0@googlegroups.com>
Date Mon, 6 Apr 2015 23:08:02 -0600
Subject Re: Intsalling wxPython
From Ian Kelly <ian.g.kelly@gmail.com>
To Python <python-list@python.org>
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 <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.78.1428383285.12925.python-list@python.org> (permalink)
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

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

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

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.

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


Thread

Intsalling wxPython Sepi <sepideh.gh@gmail.com> - 2015-04-06 19:54 -0700
  Re: Intsalling wxPython Sepi Gh <adm2303.2304@gmail.com> - 2015-04-06 20:27 -0700
    Re: Intsalling wxPython Sepi Gh <adm2303.2304@gmail.com> - 2015-04-06 20:29 -0700
      Re: Intsalling wxPython Michael Torrie <torriem@gmail.com> - 2015-04-06 23:01 -0600
      Re: Intsalling wxPython Ian Kelly <ian.g.kelly@gmail.com> - 2015-04-06 23:08 -0600

csiph-web