hmmmbob hmmmbob - 2 months ago 28
Python Question

trying to install pycuda, getting zip error?

windows 10, python 2.7 64 bit

hello, following a guide to this step :

pip install pipwin
pipwin install pycuda


gives me those options

Package `pycuda` found in cache
Choose version to download.

[0] : 2014.1+cuda6514
[1] : 2015.1.3+cuda7518


no matter what i choose , i get the following error(last line):

File "c:\users\skpok\anaconda2\lib\zipfile.py", line 811, in _RealGetContents
raise BadZipfile, "File is not a zip file"
BadZipfile: File is not a zip file


Anyone knows this mistake?

Answer

Updated:

The download link below is expired. You can find the latest version of pycuda in http://www.lfd.uci.edu/~gohlke/pythonlibs/#pycuda

-------------

I got the same error. Maybe the package is damaged.

Downloading package . . .
http://www.lfd.uci.edu/~gohlke/pythonlibs/WjTMc73K/pycuda-2015.1.3+cuda7518-cp27-none-win32.whl  <--- **damaged package?**

You can download this package:

http://www.lfd.uci.edu/~gohlke/pythonlibs/wkvprmqy/pycuda-2015.1.3+cuda7518-cp27-none-win32.whl

and then:

pip install "pycuda-2015.1.3+cuda7518-cp27-none-win32.whl"

It would be OK.