Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #30596
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2012-09-30 21:44 -0700 |
| 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> <mailman.1694.1349061544.27098.python-list@python.org> |
| Subject | Re: Can't import modules |
| From | Peter Farrell <peterfarrell66@gmail.com> |
| Message-ID | <mailman.1698.1349066673.27098.python-list@python.org> (permalink) |
On Sunday, September 30, 2012 8:19:28 PM UTC-7, Dave Angel wrote: > On 09/30/2012 09:35 PM, Peter Farrell wrote: > > > On Sunday, September 30, 2012 6:25:29 PM UTC-7, Steven D'Aprano wrote: > > >> On Sun, 30 Sep 2012 17:35:02 -0700, Peter Farrell wrote: > > >> > > >> > > >> > > >>> Thanks for trying to help, everybody. Sorry I didn't post the whole > > >>> error message. Now my problem is I just installed VPython and I'm trying > > >>> to run the very first example, bounce.py which I located. I opened it > > >>> and ran it in Idle. I got this message: > > >> > > >> > > >> In general, any time you get unexpected or unusual errors in IDLE, you > > >> should try running the same code without IDLE, just at the regular Python > > >> prompt. > > >> <SNIP> > > > Thanks again for the help. I entered the import statements you suggested into the Python Shell and they gave me the same error message. (Neither did visual_all, but of course the print statement worked.) > > > > Don't run it in the Python Shell, and don't use IDLE at all. Run your > > test either at the cmd window, or from plain Python's interactive > > interpreter, or maybe from VIDLE. > > > > >From the official download page: > > http://www.vpython.org/contents/download_windows.html > > > > > > """How to run VPython > > > > * > > > > Start the program editor with the "VIDLE for Python" shortcut on the > > desktop > > or on the Start menu. > > > > * > > > > Open an example program -- for example, bounce2.py. > > > > * > > > > Press F5 to run (or use the Run menu). > > > > """ > > > > > > > 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. > > > > > > I was hoping it was a common error that newbies encounter. > > > > > > Thanks again, Python fans. I'll keep you posted on my progress! > > VPython has separate versions for Python 2.7 and 3.2 Hopefully you > > downloaded the 3.2 version, since you're running it in c:\python32 > > > > Also, these are for the 32bit version of CPython. So double-check which > > one you've got installed. > > > > > > > > -- > > > > DaveA Yes, I downloaded the 3.2 version but on 64-bit. None of the 32-bit Python programs I've installed have worked. VPython didn't install a VIDLE icon on my desktop. An earlier version did, but then it said it couldn't find the .exe file to work! I've sent a message to the VPython groups. I'm looking forward to using this program, when it finally works! Thanks again, Peter
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