Menu

Installation on Virtualenv

2015-12-29
2015-12-29
  • Ido Sternberg

    Ido Sternberg - 2015-12-29

    can pyviennaCL be installed on a virtualenv? when using
    pip install pyviennacl
    i get the follwoing error:

      /usr/bin/ld: cannot find -lOpenCL
      collect2: error: ld returned 1 exit status
      error: command 'x86_64-linux-gnu-g++' failed with exit status 1
    
      ----------------------------------------
      Failed building wheel for pyviennacl
    Failed to build pyviennacl
    
     
  • Karl Rupp

    Karl Rupp - 2015-12-29

    The installation of PyViennaCL should work on a virtualenv, but I haven't tested it myself (maybe Toby did).

    The error you encounter is due to a missing libOpenCL.so in your system library folder (usually /usr/lib) Make sure you've got an OpenCL SDK installed and accessible through your virtualenv. If libOpenCL.so resides in a non-system-path, consider creating a symbolic link from /usr/lib.

     

Log in to post a comment.