[SciPy-User] problem running SciPy
Fri Mar 16 15:34:58 CDT 2012
I just recently installed SciPy, and when I went to run the tests, I got:
[gjenness@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,
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:
library_dirs = /usr/lib
include_dirs = /usr/include
libraries = fftw3
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.
Dr. Glen Jenness
Department of Chemistry
University of Wisconsin - Madison
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SciPy-User