我正在尝试使用此wheel文件中的pip安装scipy: SciPy的-0.18.1-cp27-cp27m-win32.whl 我已经安装了相同python版本和win32版本的numpy + mkl。 Numpy已成功安装,但当我尝试安装scipy时,它显示以下错误消息:
C:\Users\Saurav Agarwal\Downloads>pip install scipy-0.18.1-cp27-cp27m-win32.whl
Processing c:\users\saurav agarwal\downloads\scipy-0.18.1-cp27-cp27m-win32.whl
Exception:
Traceback (most recent call last):
File "c:\python27\lib\site-packages\pip\basecommand.py", line 215, in main
status = self.run(options, args)
File "c:\python27\lib\site-packages\pip\commands\install.py", line 335, in run
wb.build(autobuilding=True)
File "c:\python27\lib\site-packages\pip\wheel.py", line 749, in build
self.requirement_set.prepare_files(self.finder)
File "c:\python27\lib\site-packages\pip\req\req_set.py", line 380, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "c:\python27\lib\site-packages\pip\req\req_set.py", line 620, in _prepare_file
session=self.session, hashes=hashes)
File "c:\python27\lib\site-packages\pip\download.py", line 809, in unpack_url
unpack_file_url(link, location, download_dir, hashes=hashes)
File "c:\python27\lib\site-packages\pip\download.py", line 715, in unpack_file_url
unpack_file(from_path, location, content_type, link)
File "c:\python27\lib\site-packages\pip\utils\__init__.py", line 599, in unpack_file
flatten=not filename.endswith('.whl')
File "c:\python27\lib\site-packages\pip\utils\__init__.py", line 484, in unzip_file
zip = zipfile.ZipFile(zipfp, allowZip64=True)
File "c:\python27\lib\zipfile.py", line 770, in __init__
self._RealGetContents()
File "c:\python27\lib\zipfile.py", line 811, in _RealGetContents
raise BadZipfile, "File is not a zip file"
BadZipfile: File is not a zip file
请帮我解决这个问题。