Modificando el setup.by e conseguido cambiarlo manualmente por si alguien tiene el mismo problema, ya esta perfectamente instalado
Salu2
Salu2
Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.
Mostrar Mensajes Menúroot@lavitz:/home/fran/Descargas/cpyrit-cuda-0.3.0# python setup.py build
running build
running build_ext
/bin/sh: /usr/local/cuda/bin/nvcc: not found
None
Failed to execute command '/usr/local/cuda/bin/nvcc -V'
Traceback (most recent call last):
File "setup.py", line 157, in <module>
setup(**setup_args)
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 135, 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 "setup.py", line 78, in run
raise SystemError("Nvidia's CUDA-compiler 'nvcc' can't be " \
SystemError: Nvidia's CUDA-compiler 'nvcc' can't be found
fran@lavitz:~/Descargas/cpyrit-cuda-0.3.0$ sudo python setup.py build
[sudo] password for fran:
svn: «.» no es una copia de trabajo
running build
running build_ext
Skipping rebuild of Nvidia CUDA kernel ...
Building modules...
building 'cpyrit._cpyrit_cuda' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/local/cuda/include -I/usr/include/python2.6 -c _cpyrit_cuda.c -o build/temp.linux-i686-2.6/_cpyrit_cuda.o -DVERSION="0.3.0"
In file included from _cpyrit_cuda.c:26:
_cpyrit_cuda.h:22: fatal error: cuda.h: No existe el archivo o directorio
fran@lavitz:~/Descargas/cpyrit-cuda-0.3.0$ sudo python setup.py build
[sudo] password for fran:
svn: «.» no es una copia de trabajo
running build
running build_ext
Skipping rebuild of Nvidia CUDA kernel ...
Building modules...
building 'cpyrit._cpyrit_cuda' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/opt/cuda/include -I/usr/include/python2.6 -c _cpyrit_cuda.c -o build/temp.linux-i686-2.6/_cpyrit_cuda.o -DVERSION="0.3.0"
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-i686-2.6/_cpyrit_cuda.o -lssl -lcuda -lz -o build/lib.linux-i686-2.6/cpyrit/_cpyrit_cuda.so
/usr/bin/ld: cannot find -lcuda
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1