New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to execute ':/usr/local/cuda-8.0/bin/nvcc': No such file or directory #94
Comments
Can you run 'nvcc --version' as a regular user (without sudo)? |
of course. |
@liqisa -- we got a similar problem - however we try to test inside the nvidia-cuda docker container, are you running in a docker container as well? |
No I didn't use docker. |
I got the same problem , and my nvcc information is : nvcc: NVIDIA (R) Cuda compiler driver |
I had solved this problem. Check your cuda_path in "~/.bashrc" |
when i try to install SparseConvNet,By “bash build.sh”
running install
running bdist_egg
running egg_info
creating sparseconvnet.egg-info
writing sparseconvnet.egg-info/PKG-INFO
writing dependency_links to sparseconvnet.egg-info/dependency_links.txt
writing top-level names to sparseconvnet.egg-info/top_level.txt
writing manifest file 'sparseconvnet.egg-info/SOURCES.txt'
package init file 'sparseconvnet/SCN/init.py' not found (or not a regular file)
reading manifest file 'sparseconvnet.egg-info/SOURCES.txt'
writing manifest file 'sparseconvnet.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/sparseconvnet
copying sparseconvnet/denseToSparse.py -> build/lib.linux-x86_64-3.7/sparseconvnet
copying sparseconvnet/permutohedralSubmanifoldConvolution.py -> build/lib.linux-x86_64-3.7/sparseconvnet
copying sparseconvnet/randomizedStrideConvolution.py -> build/lib.linux-x86_64-3.7/sparseconvnet
copying sparseconvnet/sparseConvNetTensor.py -> build/lib.linux-x86_64-3.7/sparseconvnet
copying sparseconvnet/submanifoldConvolution.py -> build/lib.linux-x86_64-3.7/sparseconvnet
copying sparseconvnet/maxPooling.py -> build/lib.linux-x86_64-3.7/sparseconvnet
copying sparseconvnet/networkArchitectures.py -> build/lib.linux-x86_64-3.7/sparseconvnet
copying sparseconvnet/classificationTrainValidate.py -> build/lib.linux-x86_64-3.7/sparseconvnet
copying sparseconvnet/activations.py -> build/lib.linux-x86_64-3.7/sparseconvnet
copying sparseconvnet/identity.py -> build/lib.linux-x86_64-3.7/sparseconvnet
copying sparseconvnet/utils.py -> build/lib.linux-x86_64-3.7/sparseconvnet
copying sparseconvnet/dropout.py -> build/lib.linux-x86_64-3.7/sparseconvnet
copying sparseconvnet/ioLayers.py -> build/lib.linux-x86_64-3.7/sparseconvnet
copying sparseconvnet/batchNormalization.py -> build/lib.linux-x86_64-3.7/sparseconvnet
copying sparseconvnet/metadata.py -> build/lib.linux-x86_64-3.7/sparseconvnet
copying sparseconvnet/deconvolution.py -> build/lib.linux-x86_64-3.7/sparseconvnet
copying sparseconvnet/shapeContext.py -> build/lib.linux-x86_64-3.7/sparseconvnet
copying sparseconvnet/sparsify.py -> build/lib.linux-x86_64-3.7/sparseconvnet
copying sparseconvnet/convolution.py -> build/lib.linux-x86_64-3.7/sparseconvnet
copying sparseconvnet/averagePooling.py -> build/lib.linux-x86_64-3.7/sparseconvnet
copying sparseconvnet/inputBatch.py -> build/lib.linux-x86_64-3.7/sparseconvnet
copying sparseconvnet/networkInNetwork.py -> build/lib.linux-x86_64-3.7/sparseconvnet
copying sparseconvnet/tables.py -> build/lib.linux-x86_64-3.7/sparseconvnet
copying sparseconvnet/randomizedStrideMaxPooling.py -> build/lib.linux-x86_64-3.7/sparseconvnet
copying sparseconvnet/init.py -> build/lib.linux-x86_64-3.7/sparseconvnet
copying sparseconvnet/sequential.py -> build/lib.linux-x86_64-3.7/sparseconvnet
copying sparseconvnet/fullConvolution.py -> build/lib.linux-x86_64-3.7/sparseconvnet
copying sparseconvnet/spectral_norm.py -> build/lib.linux-x86_64-3.7/sparseconvnet
copying sparseconvnet/sparseToDense.py -> build/lib.linux-x86_64-3.7/sparseconvnet
copying sparseconvnet/unPooling.py -> build/lib.linux-x86_64-3.7/sparseconvnet
running build_ext
building 'sparseconvnet.SCN' extension
creating build/temp.linux-x86_64-3.7
creating build/temp.linux-x86_64-3.7/sparseconvnet
creating build/temp.linux-x86_64-3.7/sparseconvnet/SCN
:/usr/local/cuda-8.0/bin/nvcc -I/home/deeper/anaconda3/envs/pointpillar/include -I/home/deeper/workspace/SparseConvNet/sparseconvnet/SCN/ -I/home/deeper/anaconda3/envs/pointpillar/lib/python3.7/site-packages/torch/include -I/home/deeper/anaconda3/envs/pointpillar/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/deeper/anaconda3/envs/pointpillar/lib/python3.7/site-packages/torch/include/TH -I/home/deeper/anaconda3/envs/pointpillar/lib/python3.7/site-packages/torch/include/THC -I:/usr/local/cuda-8.0/include -I/home/deeper/anaconda3/envs/pointpillar/include/python3.7m -c sparseconvnet/SCN/cuda.cu -o build/temp.linux-x86_64-3.7/sparseconvnet/SCN/cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --compiler-options '-fPIC' -std=c++11 -Xcompiler -fopenmp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=SCN -D_GLIBCXX_USE_CXX11_ABI=0
unable to execute ':/usr/local/cuda-8.0/bin/nvcc': No such file or directory
error: command ':/usr/local/cuda-8.0/bin/nvcc' failed with exit status 1
Traceback (most recent call last):
File "examples/hello-world.py", line 10, in
import sparseconvnet as scn
ModuleNotFoundError: No module named 'sparseconvnet'
it may concerned about "sudo" i guessed.
so i try 'sudo python setup.py install "
but "sudo python" is usr/bin/python2.7 not the conda python
then i try that "sudo /home/deeper/anaconda3/envs/my_env/python setup.py install "
Another error occur..
Traceback (most recent call last):
File "setup.py", line 9, in
import torch, os
File "/home/deeper/anaconda3/envs/pointpillar/lib/python3.7/site-packages/torch/init.py", line 79, in
from torch._C import *
ImportError: libnvToolsExt.so.1: cannot open shared object file: No such file or directory
how can I install SparseConvNet correctly?
Thank a lot!
The text was updated successfully, but these errors were encountered: