Open PepZhu opened 3 years ago
facing the same issue. could you resolve it?
facing the same issue. could you resolve it?
noooo
@aka-95 If you're installing cudatoolkit=10.0 using conda, it doesn't come with nvcc compiler. See this. You might need to get the CUDA toolit 10.0 packaged by NVIDIA for the nvcc compiler.
I could resolve the problem in the following way.
To find have the right nvcc version:
export PATH="/usr/local/cuda-10.0/bin:$PATH"
export LD_LIBRARY_PATH="/usr/local/cuda-10.0/lib64:$LD_LIBRARY_PATH"
You can test out by nvcc --version
To carry on installing apex for Oscar:
git checkout f3a960f80244cf9e80558ab30f7f7e8cbf03c0a0
python setup.py install --cuda_ext --cpp_ext
when I install the apex by runing "python setup.py install --cuda_ext --cpp_ext", there is an error "FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/cuda/bin/nvcc': '/usr/local/cuda/bin/nvcc'".
Cloud you help me? Thanks a lot!