The solution proposed on this web site fixed the problem for me http://tarekziade.wordpress.com/2009/10/03/python-2-6-3-and-distribute/
Christine 2009/10/11 Darcoux Christine <[email protected]> > Pycuda 0.93 does not build for me. It crashes when runnning "running > build_ext". It looks like setuptools might be to blame or is it something > specific to my box? Got the same problem with the GIT trunk. > > I am using > > setuptools 0.6c9 > python 2.6.3 > cuda 2.3 > pytools 9-1 > boost 1.39.0 > numpy 1.3.0 > > > configuation with > > ./configure.py --boost-inc-dir=/usr/include \ > --boost-lib-dir=/usr/lib \ > --boost-python-libname=boost_python \ > --boost-thread-libname=boost_python-mt \ > --cuda-root=/usr > > > Error message bellow : > > running build_ext > -------------------------------------------------------------------------- > Sorry, your build failed. Try rerunning configure with different options. > -------------------------------------------------------------------------- > Traceback (most recent call last): > File "setup.py", line 325, in <module> > main() > File "setup.py", line 317, in main > ("include/cuda", glob.glob("src/cuda/*.hpp")) > File "/var/abs/local/pycuda/src/pycuda-0.93/aksetup_helper.py", line 12, > in setup > setup(*args, **kwargs) > File "/usr/lib/python2.6/distutils/core.py", line 152, in setup > dist.run_commands() > File "/usr/lib/python2.6/distutils/dist.py", line 975, in run_commands > self.run_command(cmd) > File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command > cmd_obj.run() > File "/usr/lib/python2.6/distutils/command/build.py", line 134, in run > self.run_command(cmd_name) > File "/usr/lib/python2.6/distutils/cmd.py", line 333, in run_command > self.distribution.run_command(command) > File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command > cmd_obj.run() > File "/usr/lib/python2.6/site-packages/setuptools/command/build_ext.py", > line 46, in run > _build_ext.run(self) > File "/usr/lib/python2.6/distutils/command/build_ext.py", line 340, in > run > self.build_extensions() > File "/usr/lib/python2.6/distutils/command/build_ext.py", line 449, in > build_extensions > self.build_extension(ext) > File "/usr/lib/python2.6/site-packages/setuptools/command/build_ext.py", > line 175, in build_extension > _build_ext.build_extension(self,ext) > File "/usr/lib/python2.6/distutils/command/build_ext.py", line 460, in > build_extension > ext_path = self.get_ext_fullpath(ext.name) > File "/usr/lib/python2.6/distutils/command/build_ext.py", line 633, in > get_ext_fullpath > filename = self.get_ext_filename(modpath[-1]) > File "/usr/lib/python2.6/site-packages/setuptools/command/build_ext.py", > line 85, in get_ext_filename > ext = self.ext_map[fullname] > KeyError: '_driver' >
_______________________________________________ PyCUDA mailing list [email protected] http://tiker.net/mailman/listinfo/pycuda_tiker.net
