今天说来学学Python,在import scipy时出现错误。
后来在网上查阅资料,说是需要安装numpy+mkl,但我从http://www.lfd.uci.edu/~gohlke/pythonlibs/下载好之后,使用pip install命令安装时出现如下错误:
Traceback (most recent call last):
File "d:\users\henry wang\appdata\local\programs\python\python35\lib\site-packages\pip\basecommand.py", line 215, in main
status = self.run(options, args)
File "d:\users\henry wang\appdata\local\programs\python\python35\lib\site-packages\pip\commands\install.py", line 342, in run
prefix=options.prefix_path,
File "d:\users\henry wang\appdata\local\programs\python\python35\lib\site-packages\pip\req\req_set.py", line 784, in install
**kwargs
File "d:\users\henry wang\appdata\local\programs\python\python35\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:\users\henry wang\appdata\local\programs\python\python35\lib\site-packages\pip\req\req_install.py", line 1064, in move_wheel_files
isolated=self.isolated,
File "d:\users\henry wang\appdata\local\programs\python\python35\lib\site-packages\pip\wheel.py", line 345, in move_wheel_files
clobber(source, lib_dir, True)
File "d:\users\henry wang\appdata\local\programs\python\python35\lib\site-packages\pip\wheel.py", line 323, in clobber
shutil.copyfile(srcfile, destfile)
File "d:\users\henry wang\appdata\local\programs\python\python35\lib\shutil.py", line 121, in copyfile
with open(dst, 'wb') as fdst:
PermissionError: [Errno 13] Permission denied: 'd:\\users\\henry wang\\appdata\\local\\programs\\python\\python35\\Lib\\site-packages\\numpy\\core\\multiarray.cp35-win_amd64.pyd'