How can I fix this?
(cv) jalal@klein:~/computer_vision/py-faster-rcnn/lib$ make
python setup.py build_ext --inplace
Traceback (most recent call last):
File "setup.py", line 58, in <module>
CUDA = locate_cuda()
File "setup.py", line 55, in locate_cuda
raise EnvironmentError('The CUDA %s path could not be located in %s' % (k, v))
OSError: The CUDA lib64 path could not be located in /usr/lib64
Makefile:2: recipe for target 'all' failed
make: *** [all] Error 1
I am using this: https://github.com/rbgirshick/py-faster-rcnn
Solved this problem using the following change for those who might end of using this popular software (for Cuda ~5):
in ~/computer_vision/py-faster-rcnn/lib/setup.py
change:
cudaconfig = {'home':home, 'nvcc':nvcc,
'include': pjoin(home, 'include'),
'lib64': pjoin(home, 'lib64')}
to:
cudaconfig = {'home':home, 'nvcc':nvcc,
'include': pjoin(home, 'include'),
'lib64': pjoin(home, 'lib')}
If you are using Cuda7.5 you might need to leave it as lib64 or you might get an error.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With