7

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

3
  • Have you looked at /Users/dan/.pip/pip.log? Apr 5, 2014 at 8:48
  • 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 AVAILABLE
    – Daniyal
    Apr 5, 2014 at 8:58
  • blas_mkl_info: libraries mkl,vml,guide not found. So is this a dependency issue? How can I get these libraries?
    – Daniyal
    Apr 5, 2014 at 9:02

4 Answers 4

18

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++

1
  • 2
    I was getting the OP's error, but using Python-pip 2.7. installing these dependencies allowed me to install. May 21, 2014 at 22:00
4
$ python3 -m pip install --upgrade pip
$ python3 -m pip install scipy

Worked for me! Had the same exact problem!

1

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

0

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.