[SciPy-User] problem running SciPy

Glen Jenness glenjenness at gmail.com
Fri Mar 16 16:34:58 EDT 2012


Dear users,
I just recently installed SciPy, and when I went to run the tests, I got:

[gjenness at pople tmp]$ python -c "import scipy; scipy.test()"
Traceback (most recent call last):
  File "<string>", line 1, in ?
  File "/home/gjenness/programs/scipy-0.10.1/scipy/__init__.py", line 128,
in ?
    raise ImportError(msg)
ImportError: Error importing scipy: you cannot import scipy while
        being in scipy source directory; please exit the scipy source
        tree first, and relaunch your python intepreter.

Now this is fairly strange to me as I am not ANYWHERE near my SciPy source
directory.  I tried looking around to see if there was a solution (I had a
similar problem with NumPy a couple months back, but sadly I don't recall
what I did to fix it).

My site.cfg is:

[DEFAULT]
library_dirs = /usr/lib
include_dirs = /usr/include
[fftw]
libraries = fftw3
[mkl]
library_dirs = /opt/intel/mkl/10.0.3.020/lib/em64t
include_dirs = /opt/intel/mkl/10.0.3.020/include
mkl_libs = mkl_intel_lp64,mkl_intel_thread,mkl_core

and I configured/built SciPy with:
python setup.py config --compiler=intelem --fcompiler=intelem build_clib
--compiler=intelem --fcompiler=intelem build_ext --compiler=intelem
--fcompiler=intelem install --prefix=/home/gjenness/programs/scipy-0.10.1/

If anyone can help me resolve this problem it'd be greatly appreciated.

Thanks!
Dr. Glen Jenness
Schmidt Group
Department of Chemistry
University of Wisconsin - Madison
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20120316/082012f1/attachment.html>


More information about the SciPy-User mailing list