On Dienstag 08 Dezember 2009, M.W. wrote: > Hi, > > I was trying to compile and run pyopencl 0.91.04 on Ubuntu 9.10 with ATI > Stream beta4 as OpenCL library. I managed to adjust the generic > instructions on the wiki (posted it there today) to the ubuntu locations. > It seemed to me that "make" and "make install" worked well, but when I > tried using pyopencl, it was not found. > > I noticed, that pyopencl is copied to the wrong folder (for ubuntu): > wrong: > /usr/local/lib/python2.6/dist-packages > correct: > /usr/lib/python2.6/dist-packages > I copied it to the correct location and it didn't solve the problem.
/usr/local should be fine, see here: https://lists.ubuntu.com/archives/ubuntu-devel/2009-February/027439.html Not sure why they weren't found--in any case, that's likely an Ubuntu bug. > My next guess is that the error message: > /usr/lib/python2.6/distutils/dist.py:266: UserWarning: Unknown > distribution option: 'install_requires' > warnings.warn(msg) > from "make" and "make install" might actually be important. Is it and if > so, how do I fix it? Which version of pyopencl are you using? Is there a "distribute_setup.py" in your source directory? This says that you've somehow managed to use distutils instead of setuptools/distribute to install. Not bad, just strange. > Also, how many files are to be generated by compiling? Only five end up > in the pyopencl folder: _cl.so, __init__.py, __init__.pyc, version.py, > version.pyc and one in the folder above: pyopencl-0.91.4.egg-info. That looks fine. One thing you haven't answered: Does your PyOpenCL actually work? (I hope it does.) Andreas
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ PyOpenCL mailing list [email protected] http://tiker.net/mailman/listinfo/pyopencl_tiker.net
