Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

The error when python setup.py build_ext --inplace #19

Open
Kingtin opened this issue Oct 28, 2021 · 1 comment
Open

The error when python setup.py build_ext --inplace #19

Kingtin opened this issue Oct 28, 2021 · 1 comment

Comments

@Kingtin
Copy link

Kingtin commented Oct 28, 2021

g++ -pthread -shared -B /home/lab206/anaconda3/envs/pxy/compiler_compat -L/home/lab206/anaconda3/envs/pxy/lib -Wl,-rpath=/home/lab206/anaconda3/envs/pxy/lib -Wl,--no-as-needed -Wl,--sysroot=/ /home/lab206/lab206/king/Code/StableViewSynthesis/ext/mytorch/build/temp.linux-x86_64-3.8/ext_cuda.o /home/lab206/lab206/king/Code/StableViewSynthesis/ext/mytorch/build/temp.linux-x86_64-3.8/ext_kernel.o -L/home/lab206/anaconda3/envs/pxy/lib/python3.8/site-packages/torch/lib -L/usr/local/cuda/lib64 -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda -o build/lib.linux-x86_64-3.8/ext_cuda.cpython-38-x86_64-linux-gnu.so
g++: error: /home/lab206/lab206/king/Code/StableViewSynthesis/ext/mytorch/build/temp.linux-x86_64-3.8/ext_kernel.o: no such file or directory
error: command 'g++' failed with exit status 1

@Kingtin Kingtin changed the title Then error when python setup.py build_ext --inplace The error when python setup.py build_ext --inplace Nov 1, 2021
@Asherchi
Copy link

you can install a higher version of gcc

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants