error while installing scipy module in python

北城余情 提交于 2019-12-11 00:25:28

问题


I'm trying to install scipy module in python using pip...it is showing following error..

Command "c:\users\sony\appdata\local\programs\python\python35-32\python.exe 
-u -c "import setuptools, 
tokenize;__file__='C:\\Users\\sony\\AppData\\Local\\Temp\\pip-build-
vmyvqdgv\\scipy\\setup.py';exec(compile(getattr(tokenize, 'open', open)
(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --
record C:\Users\sony\AppData\Local\Temp\pip-mf_0tla_-record\install-
record.txt --single-version-externally-managed --compile" failed with error
code 1 in C:\Users\sony\AppData\Local\Temp\pip-build-vmyvqdgv\scipy\

and when I tried it using easy_install, it showed:

error: no lapack/blas resources found

Any solutions please...


回答1:


  1. First install Numpy+MKL by downloading wheel from here.
  2. Go to your .whl file location and type pip install <filename>
  3. Now download SciPy from here.
  4. Repeat step 2.

Note: Upgrade pip first by pip install --upgrade pip




回答2:


Instead of installing scipy separately install anaconda(windows setup available) which comes with scipy numpy pandas and other useful python modules. https://www.continuum.io/downloads This will ease your future tasks as well when install other required modules as it creates a separate environment



来源:https://stackoverflow.com/questions/36700439/error-while-installing-scipy-module-in-python

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!