Search code examples
python-3.xpippycharmpycudacl.exe

Installing PyCuda package shows cl.exe error in PyCharm


error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2

I'm trying to install PyCuda package for my program and I get the above error. The IDE I use is Pycharm. My pip version is 10.0.1. What could be the possible issue?


Solution

  • I solved it using these steps:

    1. Install Cuda Toolkit from NVIDIA website
    2. Open This link and download appropriate PyCuda whl file for your python version and system
    3. Install the downloaded package using Anaconda
    4. Open PyCharm and install the package using Interpreter settings
    5. Enjoy PyCuda

    Thanks