Pointnet2_PyTorch icon indicating copy to clipboard operation
Pointnet2_PyTorch copied to clipboard

Errors happened after runing pip install -r requirements.txt

Open yaoyishen opened this issue 5 years ago • 7 comments

run pip install -r requirements.txt and errors happened ERROR: Command errored out with exit status 1: command: /home/ncepucce/anaconda3/envs/3DMR/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-ljzer77f/setup.py'"'"'; file='"'"'/tmp/pip-req-build-ljzer77f/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-vl52txpl/install-record.txt --single-version-externally-managed --compile --install-headers /home/ncepucce/anaconda3/envs/3DMR/include/python3.6m/pointnet2-ops cwd: /tmp/pip-req-build-ljzer77f/ Complete output (160 lines): running install running build running build_py creating build creating build/lib.linux-x86_64-3.6 creating build/lib.linux-x86_64-3.6/pointnet2_ops copying pointnet2_ops/pointnet2_modules.py -> build/lib.linux-x86_64-3.6/pointnet2_ops copying pointnet2_ops/_version.py -> build/lib.linux-x86_64-3.6/pointnet2_ops copying pointnet2_ops/pointnet2_utils.py -> build/lib.linux-x86_64-3.6/pointnet2_ops copying pointnet2_ops/init.py -> build/lib.linux-x86_64-3.6/pointnet2_ops running egg_info writing pointnet2_ops.egg-info/PKG-INFO writing dependency_links to pointnet2_ops.egg-info/dependency_links.txt writing requirements to pointnet2_ops.egg-info/requires.txt writing top-level names to pointnet2_ops.egg-info/top_level.txt reading manifest file 'pointnet2_ops.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'pointnet2_ops.egg-info/SOURCES.txt' creating build/lib.linux-x86_64-3.6/pointnet2_ops/_ext-src creating build/lib.linux-x86_64-3.6/pointnet2_ops/_ext-src/include copying pointnet2_ops/_ext-src/include/ball_query.h -> build/lib.linux-x86_64-3.6/pointnet2_ops/_ext-src/include copying pointnet2_ops/_ext-src/include/cuda_utils.h -> build/lib.linux-x86_64-3.6/pointnet2_ops/_ext-src/include copying pointnet2_ops/_ext-src/include/group_points.h -> build/lib.linux-x86_64-3.6/pointnet2_ops/_ext-src/include copying pointnet2_ops/_ext-src/include/interpolate.h -> build/lib.linux-x86_64-3.6/pointnet2_ops/_ext-src/include copying pointnet2_ops/_ext-src/include/sampling.h -> build/lib.linux-x86_64-3.6/pointnet2_ops/_ext-src/include copying pointnet2_ops/_ext-src/include/utils.h -> build/lib.linux-x86_64-3.6/pointnet2_ops/_ext-src/include creating build/lib.linux-x86_64-3.6/pointnet2_ops/_ext-src/src copying pointnet2_ops/_ext-src/src/ball_query.cpp -> build/lib.linux-x86_64-3.6/pointnet2_ops/_ext-src/src copying pointnet2_ops/_ext-src/src/ball_query_gpu.cu -> build/lib.linux-x86_64-3.6/pointnet2_ops/_ext-src/src copying pointnet2_ops/_ext-src/src/bindings.cpp -> build/lib.linux-x86_64-3.6/pointnet2_ops/_ext-src/src copying pointnet2_ops/_ext-src/src/group_points.cpp -> build/lib.linux-x86_64-3.6/pointnet2_ops/_ext-src/src copying pointnet2_ops/ext-src/src/group_points_gpu.cu -> build/lib.linux-x86_64-3.6/pointnet2_ops/ext-src/src copying pointnet2_ops/ext-src/src/interpolate.cpp -> build/lib.linux-x86_64-3.6/pointnet2_ops/ext-src/src copying pointnet2_ops/ext-src/src/interpolate_gpu.cu -> build/lib.linux-x86_64-3.6/pointnet2_ops/ext-src/src copying pointnet2_ops/ext-src/src/sampling.cpp -> build/lib.linux-x86_64-3.6/pointnet2_ops/ext-src/src copying pointnet2_ops/ext-src/src/sampling_gpu.cu -> build/lib.linux-x86_64-3.6/pointnet2_ops/ext-src/src running build_ext building 'pointnet2_ops.ext' extension creating /tmp/pip-req-build-ljzer77f/build/temp.linux-x86_64-3.6 creating /tmp/pip-req-build-ljzer77f/build/temp.linux-x86_64-3.6/pointnet2_ops creating /tmp/pip-req-build-ljzer77f/build/temp.linux-x86_64-3.6/pointnet2_ops/ext-src creating /tmp/pip-req-build-ljzer77f/build/temp.linux-x86_64-3.6/pointnet2_ops/ext-src/src Emitting ninja build file /tmp/pip-req-build-ljzer77f/build/temp.linux-x86_64-3.6/build.ninja... Compiling objects... Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N) [1/9] :/usr/local/cuda-10.1/bin/nvcc -I/tmp/pip-req-build-ljzer77f/pointnet2_ops/ext-src/include -I/home/ncepucce/anaconda3/envs/3DMR/lib/python3.6/site-packages/torch/include -I/home/ncepucce/anaconda3/envs/3DMR/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ncepucce/anaconda3/envs/3DMR/lib/python3.6/site-packages/torch/include/TH -I/home/ncepucce/anaconda3/envs/3DMR/lib/python3.6/site-packages/torch/include/THC -I:/usr/local/cuda-10.1/include -I/home/ncepucce/anaconda3/envs/3DMR/include/python3.6m -c -c /tmp/pip-req-build-ljzer77f/pointnet2_ops/ext-src/src/ball_query_gpu.cu -o /tmp/pip-req-build-ljzer77f/build/temp.linux-x86_64-3.6/pointnet2_ops/ext-src/src/ball_query_gpu.o -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -Xfatbin -compress-all -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_75,code=sm_75 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_37,code=compute_37 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_62,code=sm_62 -std=c++14 FAILED: /tmp/pip-req-build-ljzer77f/build/temp.linux-x86_64-3.6/pointnet2_ops/ext-src/src/ball_query_gpu.o :/usr/local/cuda-10.1/bin/nvcc -I/tmp/pip-req-build-ljzer77f/pointnet2_ops/ext-src/include -I/home/ncepucce/anaconda3/envs/3DMR/lib/python3.6/site-packages/torch/include -I/home/ncepucce/anaconda3/envs/3DMR/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ncepucce/anaconda3/envs/3DMR/lib/python3.6/site-packages/torch/include/TH -I/home/ncepucce/anaconda3/envs/3DMR/lib/python3.6/site-packages/torch/include/THC -I:/usr/local/cuda-10.1/include -I/home/ncepucce/anaconda3/envs/3DMR/include/python3.6m -c -c /tmp/pip-req-build-ljzer77f/pointnet2_ops/ext-src/src/ball_query_gpu.cu -o /tmp/pip-req-build-ljzer77f/build/temp.linux-x86_64-3.6/pointnet2_ops/ext-src/src/ball_query_gpu.o -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -Xfatbin -compress-all -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_75,code=sm_75 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_37,code=compute_37 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_62,code=sm_62 -std=c++14 /bin/sh: 1: :/usr/local/cuda-10.1/bin/nvcc: not found [2/9] :/usr/local/cuda-10.1/bin/nvcc -I/tmp/pip-req-build-ljzer77f/pointnet2_ops/ext-src/include -I/home/ncepucce/anaconda3/envs/3DMR/lib/python3.6/site-packages/torch/include -I/home/ncepucce/anaconda3/envs/3DMR/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ncepucce/anaconda3/envs/3DMR/lib/python3.6/site-packages/torch/include/TH -I/home/ncepucce/anaconda3/envs/3DMR/lib/python3.6/site-packages/torch/include/THC -I:/usr/local/cuda-10.1/include -I/home/ncepucce/anaconda3/envs/3DMR/include/python3.6m -c -c /tmp/pip-req-build-ljzer77f/pointnet2_ops/ext-src/src/sampling_gpu.cu -o /tmp/pip-req-build-ljzer77f/build/temp.linux-x86_64-3.6/pointnet2_ops/ext-src/src/sampling_gpu.o -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -Xfatbin -compress-all -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_75,code=sm_75 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_37,code=compute_37 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_62,code=sm_62 -std=c++14 FAILED: /tmp/pip-req-build-ljzer77f/build/temp.linux-x86_64-3.6/pointnet2_ops/ext-src/src/sampling_gpu.o :/usr/local/cuda-10.1/bin/nvcc -I/tmp/pip-req-build-ljzer77f/pointnet2_ops/ext-src/include -I/home/ncepucce/anaconda3/envs/3DMR/lib/python3.6/site-packages/torch/include -I/home/ncepucce/anaconda3/envs/3DMR/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ncepucce/anaconda3/envs/3DMR/lib/python3.6/site-packages/torch/include/TH -I/home/ncepucce/anaconda3/envs/3DMR/lib/python3.6/site-packages/torch/include/THC -I:/usr/local/cuda-10.1/include -I/home/ncepucce/anaconda3/envs/3DMR/include/python3.6m -c -c /tmp/pip-req-build-ljzer77f/pointnet2_ops/ext-src/src/sampling_gpu.cu -o /tmp/pip-req-build-ljzer77f/build/temp.linux-x86_64-3.6/pointnet2_ops/ext-src/src/sampling_gpu.o -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -Xfatbin -compress-all -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_75,code=sm_75 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_37,code=compute_37 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_62,code=sm_62 -std=c++14 /bin/sh: 1: :/usr/local/cuda-10.1/bin/nvcc: not found [3/9] :/usr/local/cuda-10.1/bin/nvcc -I/tmp/pip-req-build-ljzer77f/pointnet2_ops/ext-src/include -I/home/ncepucce/anaconda3/envs/3DMR/lib/python3.6/site-packages/torch/include -I/home/ncepucce/anaconda3/envs/3DMR/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ncepucce/anaconda3/envs/3DMR/lib/python3.6/site-packages/torch/include/TH -I/home/ncepucce/anaconda3/envs/3DMR/lib/python3.6/site-packages/torch/include/THC -I:/usr/local/cuda-10.1/include -I/home/ncepucce/anaconda3/envs/3DMR/include/python3.6m -c -c /tmp/pip-req-build-ljzer77f/pointnet2_ops/ext-src/src/interpolate_gpu.cu -o /tmp/pip-req-build-ljzer77f/build/temp.linux-x86_64-3.6/pointnet2_ops/ext-src/src/interpolate_gpu.o -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -Xfatbin -compress-all -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_75,code=sm_75 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_37,code=compute_37 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_62,code=sm_62 -std=c++14 FAILED: /tmp/pip-req-build-ljzer77f/build/temp.linux-x86_64-3.6/pointnet2_ops/ext-src/src/interpolate_gpu.o :/usr/local/cuda-10.1/bin/nvcc -I/tmp/pip-req-build-ljzer77f/pointnet2_ops/ext-src/include -I/home/ncepucce/anaconda3/envs/3DMR/lib/python3.6/site-packages/torch/include -I/home/ncepucce/anaconda3/envs/3DMR/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ncepucce/anaconda3/envs/3DMR/lib/python3.6/site-packages/torch/include/TH -I/home/ncepucce/anaconda3/envs/3DMR/lib/python3.6/site-packages/torch/include/THC -I:/usr/local/cuda-10.1/include -I/home/ncepucce/anaconda3/envs/3DMR/include/python3.6m -c -c /tmp/pip-req-build-ljzer77f/pointnet2_ops/ext-src/src/interpolate_gpu.cu -o /tmp/pip-req-build-ljzer77f/build/temp.linux-x86_64-3.6/pointnet2_ops/ext-src/src/interpolate_gpu.o -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -Xfatbin -compress-all -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_75,code=sm_75 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_37,code=compute_37 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_62,code=sm_62 -std=c++14 /bin/sh: 1: :/usr/local/cuda-10.1/bin/nvcc: not found [4/9] :/usr/local/cuda-10.1/bin/nvcc -I/tmp/pip-req-build-ljzer77f/pointnet2_ops/ext-src/include -I/home/ncepucce/anaconda3/envs/3DMR/lib/python3.6/site-packages/torch/include -I/home/ncepucce/anaconda3/envs/3DMR/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ncepucce/anaconda3/envs/3DMR/lib/python3.6/site-packages/torch/include/TH -I/home/ncepucce/anaconda3/envs/3DMR/lib/python3.6/site-packages/torch/include/THC -I:/usr/local/cuda-10.1/include -I/home/ncepucce/anaconda3/envs/3DMR/include/python3.6m -c -c /tmp/pip-req-build-ljzer77f/pointnet2_ops/ext-src/src/group_points_gpu.cu -o /tmp/pip-req-build-ljzer77f/build/temp.linux-x86_64-3.6/pointnet2_ops/ext-src/src/group_points_gpu.o -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -Xfatbin -compress-all -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_75,code=sm_75 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_37,code=compute_37 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_62,code=sm_62 -std=c++14 FAILED: /tmp/pip-req-build-ljzer77f/build/temp.linux-x86_64-3.6/pointnet2_ops/ext-src/src/group_points_gpu.o :/usr/local/cuda-10.1/bin/nvcc -I/tmp/pip-req-build-ljzer77f/pointnet2_ops/ext-src/include -I/home/ncepucce/anaconda3/envs/3DMR/lib/python3.6/site-packages/torch/include -I/home/ncepucce/anaconda3/envs/3DMR/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ncepucce/anaconda3/envs/3DMR/lib/python3.6/site-packages/torch/include/TH -I/home/ncepucce/anaconda3/envs/3DMR/lib/python3.6/site-packages/torch/include/THC -I:/usr/local/cuda-10.1/include -I/home/ncepucce/anaconda3/envs/3DMR/include/python3.6m -c -c /tmp/pip-req-build-ljzer77f/pointnet2_ops/ext-src/src/group_points_gpu.cu -o /tmp/pip-req-build-ljzer77f/build/temp.linux-x86_64-3.6/pointnet2_ops/ext-src/src/group_points_gpu.o -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -Xfatbin -compress-all -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -gencode=arch=compute_75,code=sm_75 -gencode=arch=compute_60,code=sm_60 -gencode=arch=compute_37,code=compute_37 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_50,code=sm_50 -gencode=arch=compute_37,code=sm_37 -gencode=arch=compute_62,code=sm_62 -std=c++14 /bin/sh: 1: :/usr/local/cuda-10.1/bin/nvcc: not found [5/9] c++ -MMD -MF /tmp/pip-req-build-ljzer77f/build/temp.linux-x86_64-3.6/pointnet2_ops/_ext-src/src/group_points.o.d -pthread -B /home/ncepucce/anaconda3/envs/3DMR/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/tmp/pip-req-build-ljzer77f/pointnet2_ops/_ext-src/include -I/home/ncepucce/anaconda3/envs/3DMR/lib/python3.6/site-packages/torch/include -I/home/ncepucce/anaconda3/envs/3DMR/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ncepucce/anaconda3/envs/3DMR/lib/python3.6/site-packages/torch/include/TH -I/home/ncepucce/anaconda3/envs/3DMR/lib/python3.6/site-packages/torch/include/THC -I:/usr/local/cuda-10.1/include -I/home/ncepucce/anaconda3/envs/3DMR/include/python3.6m -c -c /tmp/pip-req-build-ljzer77f/pointnet2_ops/_ext-src/src/group_points.cpp -o /tmp/pip-req-build-ljzer77f/build/temp.linux-x86_64-3.6/pointnet2_ops/_ext-src/src/group_points.o -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 FAILED: /tmp/pip-req-build-ljzer77f/build/temp.linux-x86_64-3.6/pointnet2_ops/_ext-src/src/group_points.o c++ -MMD -MF /tmp/pip-req-build-ljzer77f/build/temp.linux-x86_64-3.6/pointnet2_ops/_ext-src/src/group_points.o.d -pthread -B /home/ncepucce/anaconda3/envs/3DMR/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/tmp/pip-req-build-ljzer77f/pointnet2_ops/_ext-src/include -I/home/ncepucce/anaconda3/envs/3DMR/lib/python3.6/site-packages/torch/include -I/home/ncepucce/anaconda3/envs/3DMR/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/ncepucce/anaconda3/envs/3DMR/lib/python3.6/site-packages/torch/include/TH -I/home/ncepucce/anaconda3/envs/3DMR/lib/python3.6/site-packages/torch/include/THC -I:/usr/local/cuda-10.1/include -I/home/ncepucce/anaconda3/envs/3DMR/include/python3.6m -c -c /tmp/pip-req-build-ljzer77f/pointnet2_ops/_ext-src/src/group_points.cpp -o /tmp/pip-req-build-ljzer77f/build/temp.linux-x86_64-3.6/pointnet2_ops/_ext-src/src/group_points.o -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /tmp/pip-req-build-ljzer77f/pointnet2_ops/_ext-src/include/utils.h:2:0, from /tmp/pip-req-build-ljzer77f/pointnet2_ops/_ext-src/src/group_points.cpp:2: /home/ncepucce/anaconda3/envs/3DMR/lib/python3.6/site-packages/torch/include/ATen/cuda/CUDAContext.h:5:10: fatal error: cuda_runtime_api.h: 没有那个文件或目录 #include <cuda_runtime_api.h> ^~~~~~~~~~~~~~~~~~~~ compilation terminated.

yaoyishen avatar Sep 27 '20 01:09 yaoyishen

"/bin/sh: 1: :/usr/local/cuda-10.1/bin/nvcc: not found" looks like pytorch can't find your cuda compiler

erikwijmans avatar Sep 27 '20 03:09 erikwijmans

find

then how can I help pytorch to find my cuda compiler

yaoyishen avatar Sep 28 '20 03:09 yaoyishen

"/bin/sh: 1: :/usr/local/cuda-10.1/bin/nvcc: not found" looks like pytorch can't find your cuda compiler

It has been solved. Thanks a lot.

yaoyishen avatar Sep 28 '20 07:09 yaoyishen

"/bin/sh: 1: :/usr/local/cuda-10.1/bin/nvcc: not found" looks like pytorch can't find your cuda compiler

It has been solved. Thanks a lot.

How did you solve it, could you please share it? Thanks a lot !!

RongyiLi avatar Dec 04 '20 00:12 RongyiLi

"/bin/sh: 1: :/usr/local/cuda-10.1/bin/nvcc: not found" looks like pytorch can't find your cuda compiler

It has been solved. Thanks a lot.

How did you solve it, could you please share it? Thanks a lot !!

我的路径写错了,里边多了一个:

yaoyishen avatar Dec 28 '20 09:12 yaoyishen

"/bin/sh: 1: :/usr/local/cuda-10.1/bin/nvcc: not found" looks like pytorch can't find your cuda compiler

It has been solved. Thanks a lot.

How did you solve it, could you please share it? Thanks a lot !!

我的路径写错了,里边多了一个: 请问在哪里修改路径,出现了一样的问题

carrie-smy avatar Oct 07 '21 11:10 carrie-smy

"/bin/sh: 1: :/usr/local/cuda-10.1/bin/nvcc: not found" looks like pytorch can't find your cuda compiler

It has been solved. Thanks a lot.

How did you solve it, could you please share it? Thanks a lot !!

我的路径写错了,里边多了一个: 请问在哪里修改路径,出现了一样的问题

具体我忘了,就是你配置nvcc系统变量的那个路径

yaoyishen avatar Oct 10 '21 06:10 yaoyishen