Hello,
I have been unable to install PyOpenCL on my machine. Any help will be
really appreciated..
Details of my machine : Python 2.6.2, Boost = 1.41.0, gcc = 4.3.3, ubuntu_64
- 9.0.4, NVIDIA GTX-280 with CUDA 2.3 and latest drivers.
I execute the following command for installation...
*>> python configure.py --boost-inc-dir=/usr/local/include/boost/
--boost-lib-dir=/usr/local/lib --cl-inc-dir=/usr/include
--cl-lib-dir=/usr/lib --cl-libname=OpenCL
*
I get the following error...
*Building a Distribute egg in /home/jayram/Project/pyopencl
Traceback (most recent call last):
File "setup.py", line 142, in <module>
scripts = scripts,
File "/usr/lib/python2.6/distutils/**core.py", line 113, in setup
_setup_distribution = dist = klass(attrs)
File "/tmp/tmpDODqQ1/distribute-0.**6.4/setuptools/dist.py", line 224, in
__init__
_Distribution.__init__(self,**attrs)
File "/usr/lib/python2.6/distutils/**dist.py", line 270, in __init__
self.finalize_options()
File "/tmp/tmpDODqQ1/distribute-0.**6.4/setuptools/dist.py", line 257, in
finalize_options
ep.load()(self, ep.name, value)
File "/tmp/tmpDODqQ1/distribute-0.**6.4/pkg_resources.py", line 1922, in
load
raise ImportError("%r has no %r attribute" % (entry,attr))
ImportError: <module 'setuptools.dist' from
'/tmp/tmpDODqQ1/distribute-0.**6.4/setuptools/dist.py'>
has no 'check_packages' attribute
/home/jayram/Project/pyopencl/**setuptools-0.6c9-py2.6.egg-**info already
exists
Traceback (most recent call last):
File "configure.py", line 3, in <module>
from aksetup_helper import configure_frontend
File "/home/jayram/Project/**pyopencl/aksetup_helper.py", line 3, in
<module>
distribute_setup.use_**setuptools()
File "/home/jayram/Project/**pyopencl/distribute_setup.py", line 139, in
use_setuptools
return _do_download(version, download_base, to_dir, download_delay)
File "/home/jayram/Project/**pyopencl/distribute_setup.py", line 120, in
_do_download
egg = _build_egg(tarball, to_dir)
File "/home/jayram/Project/**pyopencl/distribute_setup.py", line 112, in
_build_egg
raise IOError('Could not build the egg.')
IOError: Could not build the egg.
*
Regards,
Jay
_______________________________________________
PyOpenCL mailing list
[email protected]
http://tiker.net/mailman/listinfo/pyopencl_tiker.net