Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/281.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 安装scipy 1.1.0版_Python_Scipy - Fatal编程技术网

Python 安装scipy 1.1.0版

Python 安装scipy 1.1.0版,python,scipy,Python,Scipy,我需要安装scipy1.1.0版。 运行命令pip install scipy==1.1.0后,出现以下错误: Collecting scipy==1.1.0 Using cached scipy-1.1.0.tar.gz (15.6 MB) Using legacy 'setup.py install' for scipy, since package 'wheel' is not installed. Installing collected packages: scipy Ru

我需要安装
scipy
1.1.0版。 运行命令
pip install scipy==1.1.0
后,出现以下错误:

Collecting scipy==1.1.0
  Using cached scipy-1.1.0.tar.gz (15.6 MB)
Using legacy 'setup.py install' for scipy, since package 'wheel' is not installed.
Installing collected packages: scipy
    Running setup.py install for scipy ... error
    ERROR: Command errored out with exit status 1:
     command: 'c:\users\myuser\appdata\local\programs\python\python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\myuser\\AppData\\Local\\Temp\\pip-install-n02rqpmt\\scipy\\setup.py'"'"'; __file__='"'"'C:\\Users\\myuser\\AppData\\Local\\Temp\\pip-install-n02rqpmt\\scipy\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\myuser\AppData\Local\Temp\pip-record-qa6zm3ga\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\myuser\appdata\local\programs\python\python38\Include\scipy'
         cwd: C:\Users\myuser\AppData\Local\Temp\pip-install-n02rqpmt\scipy\
    Complete output (147 lines):

Note: if you need reliable uninstall behavior, then install
with pip instead of using `setup.py install`:

      - `pip install .`       (from a git repo or downloaded source
                               release)
      - `pip install scipy`   (last SciPy release on PyPI)

如果您正在使用pip,请帮助我,确保安装了python2的。或者试试蟒蛇3

python的pip install scipy==1.1.0

pip3安装scipy==1.1.0
python3

它将成功安装

pip install scipy==1.1.0
Collecting scipy==1.1.0
  Downloading https://files.pythonhosted.org/packages/2a/f3/de9c1bd16311982711209edaa8c6caa962db30ebb6a8cc6f1dcd2d3ef616/scipy-1.1.0-cp27-cp27mu-manylinux1_x86_64.whl (30.8MB)
    100% |████████████████████████████████| 30.8MB 36kB/s 
Collecting numpy>=1.8.2 (from scipy==1.1.0)
  Downloading https://files.pythonhosted.org/packages/3a/5f/47e578b3ae79e2624e205445ab77a1848acdaa2929a00eeef6b16eaaeb20/numpy-1.16.6-cp27-cp27mu-manylinux1_x86_64.whl (17.0MB)
    100% |████████████████████████████████| 17.0MB 67kB/s 
Installing collected packages: numpy, scipy
Successfully installed numpy-1.16.6 scipy-1.1.0

“对scipy使用旧版'setup.py install',因为未安装软件包'wheel'。-在安装scipy之前,请尝试运行
pip install wheel
。我应该使用什么命令@SpiderPig1297请尝试
pip安装控制盘
,然后
pip安装scipy==1.1.0