ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> python-Tutor
python-Tutor
RE: [Tutor] Lost Modules?
by Gus Tabares other posts by this author
Aug 24 2002 12:30AM messages near this date
[Tutor] Lost Modules? | RE: [Tutor] Lost Modules?
Hello,

  What is your PYTHONPATH set to?


Gus
-----Original Message-----
From: tutor-admin@[...].org [mailto:tutor-admin@[...].org]On Behalf Of
J. Childers
Sent: Friday, August 23, 2002 3:11 PM
To: tutor@[...].org
Subject: [Tutor] Lost Modules?


Hi,

I am at my wits end trying to learn Python. When I create a module
("mymod.py") and then try to
import it, Python tells me it cannot find a module of that name.

"Import can't find module, or can't find name in module: No module
named mymod"

Yet it is there, in the directory named in os.getcwd(). What the heck am I
doing wrong? This
behavior is consistent for any modules I create. Arg!

Jeff

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

_______________________________________________
Tutor maillist  -  Tutor@[...].org
http://mail.python.org/mailman/listinfo/tutor


_______________________________________________
Tutor maillist  -  Tutor@[...].org
http://mail.python.org/mailman/listinfo/tutor
Thread:
J. Childers
Gus Tabares
Rob
MIG

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved