[SciPy-user] No longer able to load scipy

iCy-fLaME icy.flame.gm at gmail.com
Mon Oct 30 13:31:19 CST 2006

Not sure since when my scipy gets broken, but it worked fine at least
a week ago, so I removed both numpy and scipy, and download the
lastest (numpy-1.0.tar.gz & scipy-0.5.1.tar.gz) then recompile from

No complains while compiling and installing both numpy and scipy, but
still unable to import scipy, while numpy works fine.

I am using:

>>> import scipy
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python2.4/site-packages/scipy/__init__.py", line 18, in ?
    import pkg_resources as _pr # activate namespace packages
(manipulates __path__)
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 2470, in ?
    working_set = WorkingSet()
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 343,
in __init__
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 358,
in add_entry
    for dist in find_distributions(entry, True):
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1565,
in find_on_path
    path_item = _normalize_cached(path_item)
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1712,
in _normalize_cached
    _cache[filename] = result = normalize_path(filename)
  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1706,
in normalize_path
    return os.path.normcase(os.path.realpath(filename))
  File "/usr/lib/python2.4/posixpath.py", line 431, in realpath
    return abspath(filename)
  File "/usr/lib/python2.4/posixpath.py", line 404, in abspath
    path = join(os.getcwd(), path)
OSError: [Errno 2] No such file or directory

Any thoughts?

More information about the SciPy-user mailing list