[Numpy-discussion] ImportError: No module named my_module

Matthew Brett matthew.brett@gmail....
Thu Aug 28 12:21:16 CDT 2008


Hi Nils,

I don't have an example.py in a checkout from a few seconds ago - it
is possible it could be a stray file?

Best,

Matthew

On Thu, Aug 28, 2008 at 3:29 AM, Nils Wagner
<nwagner@iam.uni-stuttgart.de> wrote:
> ======================================================================
> ERROR: Failure: ImportError (No module named my_module)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File
> "/data/home/nwagner/local/lib/python2.5/site-packages/nose-0.10.1-py2.5.egg/nose/loader.py",
> line 364, in loadTestsFromName
>     addr.filename, addr.module)
>   File
> "/data/home/nwagner/local/lib/python2.5/site-packages/nose-0.10.1-py2.5.egg/nose/importer.py",
> line 39, in importFromPath
>     return self.importFromDir(dir_path, fqname)
>   File
> "/data/home/nwagner/local/lib/python2.5/site-packages/nose-0.10.1-py2.5.egg/nose/importer.py",
> line 84, in importFromDir
>     mod = load_module(part_fqname, fh, filename, desc)
>   File
> "/data/home/nwagner/local/lib/python2.5/site-packages/numpy/doc/__init__.py",
> line 10, in <module>
>     __import__(__name__ + '.' + f)
>   File
> "/data/home/nwagner/local/lib/python2.5/site-packages/numpy/doc/example.py",
> line 35, in <module>
>     from my_module import my_func, other_func
> ImportError: No module named my_module
>
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>


More information about the Numpy-discussion mailing list