Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #30581
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <d@davea.name> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.004 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'python.': 0.02; 'exception': 0.03; 'raised': 0.07; 'broken.': 0.09; 'subject:modules': 0.09; 'cc:addr:python-list': 0.10; 'advance': 0.10; 'context;': 0.16; 'dot,': 0.16; 'everybody.': 0.16; 'idle.': 0.16; 'presume': 0.16; 'programmer,': 0.16; 'still,': 0.16; 'subject:import': 0.16; 'vpython': 0.16; 'wrote:': 0.17; 'pfxlen:0': 0.17; 'math': 0.20; 'skip:" 40': 0.20; 'trying': 0.21; 'import': 0.21; 'form:': 0.22; 'progress.': 0.22; 'posted': 0.22; 'cc:2**0': 0.23; 'example': 0.23; 'installed': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply- To:1': 0.25; 'header:User-Agent:1': 0.26; '(most': 0.27; 'order.': 0.27; 'question': 0.27; 'first.': 0.27; 'skip:" 50': 0.27; 'run': 0.28; 'post': 0.28; 'probably': 0.29; "i'm": 0.29; 'install': 0.29; 'maybe': 0.29; 'error': 0.30; 'problem.': 0.32; 'system,': 0.32; 'file': 0.32; 'help,': 0.32; "who's": 0.32; 'running': 0.32; 'message.': 0.33; 'traceback': 0.33; 'problem': 0.33; 'form.': 0.33; 'version': 0.34; "can't": 0.34; 'thanks': 0.34; 'pm,': 0.35; 'something': 0.35; 'visual': 0.36; "didn't": 0.36; "i'll": 0.36; 'thank': 0.36; 'bad': 0.37; 'reported': 0.37; 'two': 0.37; 'uses': 0.37; 'subject:: ': 0.38; 'received:192': 0.39; 'received:192.168': 0.40; 'your': 0.60; 'real': 0.61; 'first': 0.61; 'different': 0.63; 'header:Reply-To:1': 0.68; 'teach': 0.69; 'received:74.208': 0.71; 'reply-to:no real name:2**0': 0.72; 'amazed': 0.84; 'cross,': 0.84; 'located.': 0.84; 'presumably': 0.84; 'url:system': 0.91; 'responses': 0.93 |
| Date | Sun, 30 Sep 2012 21:16:30 -0400 |
| From | Dave Angel <d@davea.name> |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0 |
| MIME-Version | 1.0 |
| To | Peter Farrell <peterfarrell66@gmail.com> |
| Subject | Re: Can't import modules |
| References | <36813ff7-68b9-44eb-9b25-7c13ae739566@googlegroups.com> <5068a9e0$0$6915$e4fe514c@news2.news.xs4all.nl> <2e36e097-a43f-43b4-98a6-8da999c39c21@googlegroups.com> |
| In-Reply-To | <2e36e097-a43f-43b4-98a6-8da999c39c21@googlegroups.com> |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | 7bit |
| X-Provags-ID | V02:K0:rjsou2oNrJcD9nbs+LzFNdzZ45Yr+j9MsK2BmUAO+/b gZWNz7vUadjC/JaINx9YyoSIyLZXlCtfCqXH0FbOGiilL5+D8I pfjhdaS2xftebnE9eJRSKOnsNE45+aukDTI65443JhYS6jH/lg 1j+8SxHL0FMEOrIs++rQXxoJMCjJBUu7h2rIWrgigQc6/nC6AH 0tTTIB+k/4V8Xfg200sIW5R1ZAbsAuA6OM6ZATzH6egueAL3im OWUW3JqIE5thGu8eIv4xUNwy/ewSWq57LveSu8kCifxgg1zRoZ 23d/H6NWfazJC1I+I0+Kx2NP5A6KBv8i9ogcdhF5JmMYW4jlQ= = |
| Cc | python-list@python.org |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| Reply-To | d@davea.name |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://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 | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1688.1349054275.27098.python-list@python.org> (permalink) |
| Lines | 43 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1349054275 news.xs4all.nl 6932 [2001:888:2000:d::a6]:50219 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:30581 |
Show key headers only | View raw
On 09/30/2012 08:35 PM, Peter Farrell wrote:
You top-posted, which means there's no context; the message is now out
of order. Please put your responses after the parts you're quoting, or
don't bother quoting.
> 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:
>
> Traceback (most recent call last):
> File "C:\Python32\Lib\site-packages\visual\examples\bounce.py", line 1, in <module>
> from visual import *
> File "C:\Python32\lib\site-packages\visual\__init__.py", line 1, in <module>
> from .visual_all import *
> File "C:\Python32\lib\site-packages\visual\visual_all.py", line 1, in <module>
> from vis import version
> File "C:\Python32\lib\site-packages\vis\__init__.py", line 3, in <module>
> from .cvisual import (vector, dot, mag, mag2, norm, cross, rotate,
> SystemError: initialization of cvisual raised unreported exception
That's a different error message than you reported at first. If you
can't even run an example supplied with the system, you'd better post a
question on the vpython forum (I presume it's available from
http://vpython.wikidot.com/system:join) Presumably the install program
is broken. Or maybe you just can't run visual from IDLE. Try running
from the terminal prompt.
I'm amazed that it uses the form: from visual_all import *
That's considered bad form. Still, it's probably not the problem. What
happens if you write a two line program:
import visual_all
print("Import succeeded")
> I'm not a programmer, just a math teacher/tutor who's trying to teach my students to understand math through using something real like Python. I'll keep you posted on my progress.
>
> Thank you in advance for your help!
>
>
--
DaveA
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