Module imports fine from interactive, not from script

2007-05-24 Thread Joshua J. Kugler
Yes, I've read this: http://mail.python.org/pipermail/python-list/2006-August/395943.html That's not my problem. I installed PlanetPlanet http://www.planetplanet.org/ via the package's setup.py install command (as root). planet.py will not run, however, giving me this error: Traceback (most

Re: Module imports fine from interactive, not from script

2007-05-24 Thread Paul Moore
On 23 May, 02:20, Joshua J. Kugler [EMAIL PROTECTED] wrote: Yes, I've read this:http://mail.python.org/pipermail/python-list/2006-August/395943.html That's not my problem. I installed PlanetPlanet http://www.planetplanet.org/ via the package's setup.py install command (as root). planet.py

Re: Module imports fine from interactive, not from script

2007-05-24 Thread Steve Holden
Joshua J. Kugler wrote: Yes, I've read this: http://mail.python.org/pipermail/python-list/2006-August/395943.html That's not my problem. I installed PlanetPlanet http://www.planetplanet.org/ via the package's setup.py install command (as root). planet.py will not run, however, giving me

Re: Module imports fine from interactive, not from script

2007-05-24 Thread Joshua J. Kugler
On Thursday 24 May 2007 08:32, Steve Holden wrote: The directory containing the script you are executing is also added to sys.path. Since you are executing a script called planet ... Ah! That's it. That had never occurred to me, as I was under the impression that your current *working*