Open HelloWorldLTY opened 2 years ago
warnings.warn(ABI_INCOMPATIBILITY_WARNING.format(compiler)) building 'torch_geometric_autoscale._async' extension creating build/temp.linux-x86_64-cpython-38 creating build/temp.linux-x86_64-cpython-38/csrc gcc -pthread -B /gpfs/gibbs/pi/zhao/tl688/conda_envs/graphnn/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Icsrc -I/home/tl688/.local/lib/python3.8/site-packages/torch/include -I/home/tl688/.local/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/tl688/.local/lib/python3.8/site-packages/torch/include/TH -I/home/tl688/.local/lib/python3.8/site-packages/torch/include/THC -I/gpfs/gibbs/pi/zhao/tl688/conda_envs/graphnn/include/python3.8 -c csrc/async.cpp -o build/temp.linux-x86_64-cpython-38/csrc/async.o -DAT_PARALLEL_OPENMP -fopenmp -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=_async -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 gcc: error: unrecognized command line option ‘-std=c++14’ error: command '/usr/bin/gcc' failed with exit code 1 [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure
Here is the error I met, but I did not fail when I intend to install pyg. Could you please help me solve this problem? Thanks a lot!
What‘s the gcc version you are using on what OS?
gcc
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
Looks like you will need to upgrade to gcc>=4.9.0 in order to use -std=c++14 features.
gcc>=4.9.0
-std=c++14
note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure
Here is the error I met, but I did not fail when I intend to install pyg. Could you please help me solve this problem? Thanks a lot!