7
votes

I'm trying to install scipy library through pip on python 3.3.5. By the end of the script, i'm getting this error:

Command /usr/local/opt/python3/bin/python3.3 -c "import setuptools, tokenize;file='/private/tmp/pip_build_root/scipy/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-9r7808-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /private/tmp/pip_build_root/scipy Storing debug log for failure in /Users/dan/.pip/pip.log

4
Have you looked at /Users/dan/.pip/pip.log?Hyperboreus
Installing collected packages: scipy Running setup.py install for scipy Running command /usr/local/opt/python3/bin/python3.3 -c "import setuptools, tokenize;__file__='/private/tmp/pip_build_root/scipy/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), __file blas_opt_info: blas_mkl_info: libraries mkl,vml,guide not found in ['/usr/local/Cellar/python3/3.3.5/Frameworks/Python.framework/Versions/3.3/lib', '/usr/local/lib', '/usr/lib'] NOT AVAILABLEDaniyal
blas_mkl_info: libraries mkl,vml,guide not found. So is this a dependency issue? How can I get these libraries?Daniyal

4 Answers

18
votes

I was getting the same thing when using pip, I went to the install and it pointed to the following dependencies.

sudo apt-get install python python-dev libatlas-base-dev gcc gfortran g++

4
votes
$ python3 -m pip install --upgrade pip
$ python3 -m pip install scipy

Worked for me! Had the same exact problem!

1
votes

I downloaded the source from https://github.com/scipy/scipy and was able to build and install it successfully using python 3.

0
votes

For windows users meeting similar error and arriving here: You can install scipy as explained in Scipy website installation instructions