Python 3.5.3 (v3.5.3:1880cb95a742, Jan 16 2017, 16:02:32) [MSC v.1900 64 bit (AMD64)] on win32
配置和Python的安裝SciPy的,但我得到這個錯誤,不明白的問題,安裝SciPy的。請留在Python上,而不是Anaconda和其他人。
(pip3py3) C:\Users\x\PycharmProjects\a>pip install scipy-0.19.1-cp35-cp35m-win_amd64.whl
Processing c:\users\x\pycharmprojects\a\scipy-0.19.1-cp35-cp35m-win_amd64.whl
Exception:
Traceback (most recent call last):
File "C:\Users\x\pip3py3\lib\site-packages\pip-9.0.1-py3.5.egg\pip\basecommand.py", line 215, in main
status = self.run(options, args)
File "C:\Users\x\pip3py3\lib\site-packages\pip-9.0.1-py3.5.egg\pip\commands\install.py", line 335, in run
wb.build(autobuilding=True)
File "C:\Users\x\pip3py3\lib\site-packages\pip-9.0.1-py3.5.egg\pip\wheel.py", line 749, in build
self.requirement_set.prepare_files(self.finder)
File "C:\Users\x\pip3py3\lib\site-packages\pip-9.0.1-py3.5.egg\pip\req\req_set.py", line 380, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "C:\Users\x\pip3py3\lib\site-packages\pip-9.0.1-py3.5.egg\pip\req\req_set.py", line 620, in _prepare_file
session=self.session, hashes=hashes)
File "C:\Users\x\pip3py3\lib\site-packages\pip-9.0.1-py3.5.egg\pip\download.py", line 809, in unpack_url
unpack_file_url(link, location, download_dir, hashes=hashes)
File "C:\Users\x\pip3py3\lib\site-packages\pip-9.0.1-py3.5.egg\pip\download.py", line 715, in unpack_file_url
unpack_file(from_path, location, content_type, link)
File "C:\Users\x\pip3py3\lib\site-packages\pip-9.0.1-py3.5.egg\pip\utils\__init__.py", line 599, in unpack_file
flatten=not filename.endswith('.whl')
File "C:\Users\x\pip3py3\lib\site-packages\pip-9.0.1-py3.5.egg\pip\utils\__init__.py", line 484, in unzip_file
zip = zipfile.ZipFile(zipfp, allowZip64=True)
File "C:\Users\x\AppData\Local\Programs\Python\Python35\lib\zipfile.py", line 1026, in __init__
self._RealGetContents()
File "C:\Users\x\AppData\Local\Programs\Python\Python35\lib\zipfile.py", line 1113, in _RealGetContents
fp.seek(self.start_dir, 0)
OSError: [Errno 22] Invalid argument
您是否曾嘗試使用'pip install .whl'從[Gohlke的網站](http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy)安裝WHL文件?當PyPI的軟件包不能安裝時,這通常是一個很好的解決方法。 –
Michael
我只從這裏安裝 –
哎呀,對不起。沒有看到... – Michael