[SciPy-User] Install Scipy in a TG environment

David Cournapeau cournape at gmail.com
Tue Nov 15 01:09:31 EST 2011


On Tue, Nov 15, 2011 at 2:05 AM, RAJESH J <rajesh at tryangles.in> wrote:
> Hello All,
> I have installed tg2.1 on a virtual environment successfully.
>
> I would like to install scipy,numpy and matplotlib in the same
> environment.
>
> I have activated the environment and when trying to install following
> error message appears.
>
>   func(*targs, **kargs)
>  File
> "/tmp/easy_install-BYfIWo/numpy-1.6.1/numpy/distutils/misc_util.py",
> line 252, in clean_up_temporary_directory
> ImportError: No module named numpy.distutils
> Error in sys.exitfunc:
> Traceback (most recent call last):
>  File "/usr/lib/python2.6/atexit.py", line 24, in _run_exitfuncs
>    func(*targs, **kargs)
>  File
> "/tmp/easy_install-BYfIWo/numpy-1.6.1/numpy/distutils/misc_util.py",
> line 252, in clean_up_temporary_directory
> ImportError: No module named numpy.distutils

Don't use easy_install, but install numpy the standard way (python
setup.py install from numpy sources).

David



More information about the SciPy-User mailing list