Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #30586
| References | (1 earlier) <5068a9e0$0$6915$e4fe514c@news2.news.xs4all.nl> <2e36e097-a43f-43b4-98a6-8da999c39c21@googlegroups.com> <5068f109$0$29997$c3e8da3$5496439d@news.astraweb.com> <de7f0448-d56d-4353-af72-a25f3f802f7f@googlegroups.com> <5068fcab$0$1726$c3e8da3$76491128@news.astraweb.com> |
|---|---|
| Date | 2012-09-30 22:39 -0400 |
| Subject | Re: Can't import modules |
| From | Dwight Hutto <dwightdhutto@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1691.1349059196.27098.python-list@python.org> (permalink) |
On Sun, Sep 30, 2012 at 10:15 PM, Steven D'Aprano <steve+comp.lang.python@pearwood.info> wrote: > On Sun, 30 Sep 2012 18:35:50 -0700, Peter Farrell wrote: > >> Since I use Python 3.2.3 I've had trouble with programs and modules >> designed for Python 2 and many programs don't work on my 64-bit system. > > While Python tries very hard to be backward compatible, the transition > from the 2.x series to the 3.x series was intentionally allowed to break > backward compatibility in certain areas. > > If VPython only supports 2.x, Naw , that's your job, plus maybe looking through the python code for Vpython, and adding a little "from __future__ import *" you should ask the vendors to support at > least 3.3 or better, preferably the full 3.x series. In the meantime, you > may have to stick to the 2.x series. > > >> I was hoping it was a common error that newbies encounter. > > Trying to run Python 2.x code in 3.x? Yes, that's common. Trying to run > VPython? Not so much. > > Good luck! > > > -- > Steven > -- > http://mail.python.org/mailman/listinfo/python-list -- Best Regards, David Hutto CEO: http://www.hitwebdevelopment.com
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Can't import modules Peter Farrell <peterfarrell66@gmail.com> - 2012-09-30 12:42 -0700
Re: Can't import modules Benjamin Kaplan <benjamin.kaplan@case.edu> - 2012-09-30 13:15 -0700
Re: Can't import modules Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-09-30 20:21 +0000
Re: Can't import modules Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-09-30 20:21 +0000
Re: Can't import modules Hans Mulder <hansmu@xs4all.nl> - 2012-09-30 22:21 +0200
Re: Can't import modules Peter Farrell <peterfarrell66@gmail.com> - 2012-09-30 17:35 -0700
Re: Can't import modules Dave Angel <d@davea.name> - 2012-09-30 21:16 -0400
Re: Can't import modules Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-10-01 01:25 +0000
Re: Can't import modules Peter Farrell <peterfarrell66@gmail.com> - 2012-09-30 18:35 -0700
Re: Can't import modules Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-10-01 02:15 +0000
Re: Can't import modules Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-10-01 02:15 +0000
Re: Can't import modules Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-30 22:39 -0400
Re: Can't import modules Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-30 22:48 -0400
Re: Can't import modules Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-30 23:12 -0400
Re: Can't import modules Dave Angel <d@davea.name> - 2012-09-30 23:18 -0400
Re: Can't import modules Peter Farrell <peterfarrell66@gmail.com> - 2012-09-30 21:44 -0700
Re: Can't import modules Peter Farrell <peterfarrell66@gmail.com> - 2012-09-30 21:44 -0700
Re: Can't import modules Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-10-01 09:36 +0100
Re: Can't import modules cjgohlke@gmail.com - 2012-09-30 23:10 -0700
csiph-web