error while installing scipy module in python

2019-07-11 18:56发布

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

2条回答
ゆ 、 Hurt°
2楼-- · 2019-07-11 19:01
  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

查看更多
萌系小妹纸
3楼-- · 2019-07-11 19:06

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

查看更多
登录 后发表回答