Re: ZipImportError: can't find module

2016-05-24 Thread John Gordon
In <1e511b73-e984-459c-9311-77bcd...@googlegroups.com> loial writes: > What has been working for years suddenly has an error : > zipimport.ZipImportError: can't find module 'mymodule' How is the shell script executed? Is it run interactively, or from a cron j

ZipImportError: can't find module

2016-05-24 Thread loial
I am suddenly having a problem with importing a module from a zip file in Python 2.4.1 What has been working for years suddenly has an error : zipimport.ZipImportError: can't find module 'mymodule' PYTHONPATH is correct, it points to the zip file containing mymodule N.B. th

Re: Can't Find Module

2009-11-09 Thread Rhodri James
On Sat, 07 Nov 2009 16:59:29 -, Victor Subervi wrote: ImportError: No module named template [snip] I can import this just fine from the python command prompt. So, what gives? Is template.py in your current directory when you run the script from the command line? -- Rhodri James

Can't Find Module

2009-11-07 Thread Victor Subervi
Hi; I'm getting this error: Mod_python error: "PythonHandler mod_python.publisher" Traceback (most recent call last): File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch result = object(req) File "/usr/lib64/python2.4/site-packages/mod_python/pub

Re: Can't find module named 'svn' in python

2007-01-15 Thread Nanjundi
My first thought: Check if you have /usr/local/lib/svn-python/ in your PYTHONPATH environment variable (echo $PYTHONPATH). If its missing, set it in the environment. export PYTHONPATH=$PYTHONPATH:/usr/local/lib/svn-python -N [EMAIL PROTECTED] wrote: > Hi, > > i have a simple test which tries to

Can't find module named 'svn' in python

2007-01-15 Thread [EMAIL PROTECTED]
Hi, i have a simple test which tries to load 'svn' moddule. # python -c "from svn import client" Traceback (most recent call last): File "", line 1, in ? ImportError: No module named svn I have checked I have sub-directories 'libsvn', 'svn' under /usr/local/lib/svn-python/ cd /usr/local/lib/s