9月 162017
 

pip install Scipy安装失败,可以直接下载whl文件进行安装:

http://www.lfd.uci.edu/%7Egohlke/pythonlibs/

C:\Users\UPC\Desktop>pip install "scipy-0.19.1-cp36-cp36m-win_amd64.whl"
Processing c:\users\upc\desktop\scipy-0.19.1-cp36-cp36m-win_amd64.whl
Collecting numpy>=1.8.2 (from scipy==0.19.1)
  Using cached numpy-1.13.1-cp36-none-win_amd64.whl
Installing collected packages: numpy, scipy
Exception:
Traceback (most recent call last):
  File "d:\python36\lib\site-packages\pip\basecommand.py", line 215, in main
    status = self.run(options, args)
  File "d:\python36\lib\site-packages\pip\commands\install.py", line 342, in run
    prefix=options.prefix_path,
  File "d:\python36\lib\site-packages\pip\req\req_set.py", line 784, in install
    **kwargs
  File "d:\python36\lib\site-packages\pip\req\req_install.py", line 851, in install
    self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
  File "d:\python36\lib\site-packages\pip\req\req_install.py", line 1064, in move_wheel_files
    isolated=self.isolated,
  File "d:\python36\lib\site-packages\pip\wheel.py", line 345, in move_wheel_files
    clobber(source, lib_dir, True)
  File "d:\python36\lib\site-packages\pip\wheel.py", line 323, in clobber
    shutil.copyfile(srcfile, destfile)
  File "d:\python36\lib\shutil.py", line 121, in copyfile
    with open(dst, 'wb') as fdst:
PermissionError: [Errno 13] Permission denied: 'd:\\python36\\Lib\\site-packages\\numpy\\core\\multiarray.cp36-win_amd64.pyd'

权限拒绝,关闭正在运行的依赖进程

C:\Users\UPC\Desktop>pip uninstall numpy
Cannot uninstall requirement numpy, not installed

C:\Users\UPC\Desktop>pip install "numpy-1.13.1+mkl-cp36-cp36m-win_amd64.whl"
Processing c:\users\upc\desktop\numpy-1.13.1+mkl-cp36-cp36m-win_amd64.whl
Installing collected packages: numpy
Successfully installed numpy-1.13.1+mkl

C:\Users\UPC\Desktop>pip install "scipy-0.19.1-cp36-cp36m-win_amd64.whl"
Processing c:\users\upc\desktop\scipy-0.19.1-cp36-cp36m-win_amd64.whl
Requirement already satisfied: numpy>=1.8.2 in d:\python36\lib\site-packages (from scipy==0.19.1)
Installing collected packages: scipy
Successfully installed scipy-0.19.1
 Posted by at 下午5:5819 views

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)