I have win10, x64, i7-3770K
- I downloaded numpy-1.11.0+mkl-cp35-cp35m-win_amd64.whl from the http://www.lfd.uci.edu/~gohlke/pythonlibs/
- I have python 3.5 installed from the official cite
- i have latest version of pip when I do pip3.5 install "mydir"\numpy-1.11.0+mkl-cp35-cp35m-win_amd64.whl i get this errors
Exception: Traceback (most recent call last): File "d:\python\lib\site-packages\pip\basecommand.py", line 209, in main status = self.run(options, args) File "d:\python\lib\site-packages\pip\commands\install.py", line 299, in run requirement_set.prepare_files(finder) File "d:\python\lib\site-packages\pip\req\req_set.py", line 360, in prepare_files ignore_dependencies=self.ignore_dependencies)) File "d:\python\lib\site-packages\pip\req\req_set.py", line 577, in _prepare_file session=self.session, hashes=hashes) File "d:\python\lib\site-packages\pip\download.py", line 798, in unpack_url unpack_file_url(link, location, download_dir, hashes=hashes) File "d:\python\lib\site-packages\pip\download.py", line 705, in unpack_file_url unpack_file(from_path, location, content_type, link) File "d:\python\lib\site-packages\pip\utils__init__.py", line 599, in unpack_file flatten=not filename.endswith('.whl') File "d:\python\lib\site-packages\pip\utils__init__.py", line 484, in unzip_file zip = zipfile.ZipFile(zipfp, allowZip64=True) File "d:\python\lib\zipfile.py", line 1026, in init self._RealGetContents() File "d:\python\lib\zipfile.py", line 1093, in _RealGetContents raise BadZipFile("File is not a zip file") zipfile.BadZipFile: File is not a zip file
1
votes
Maybe it's easier to download the Anaconda distribution from continuum.io/downloads . It has most important packages and a nice editor (Spyder). I've had a lot of trouble installing packages on Windows with the standard Python distribution.
- Forzaa
4 Answers
1
votes
0
votes
0
votes