microsoft / Graphormer

Graphormer is a general-purpose deep learning backbone for molecular modeling.
MIT License
2k stars 324 forks source link

install.sh Issue, no access to sudo, using pip21.1 #167

Open rezabrizi opened 1 year ago

rezabrizi commented 1 year ago

/nas1-nfs1/home/rxa200026/miniconda3/envs/graphormer/lib/python3.9/site-packages/setuptools/init.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !!

    ********************************************************************************
    Requirements should be satisfied by a PEP 517 installer.
    If you are using pip, you can try `pip install --use-pep517`.
    ********************************************************************************

!! dist.fetch_build_eggs(dist.setup_requires) running build_ext /nas1-nfs1/home/rxa200026/miniconda3/envs/graphormer/lib/python3.9/site-packages/torch/utils/cpp_extension.py:370: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend. warnings.warn(msg.format('we could not find ninja.')) /nas1-nfs1/home/rxa200026/miniconda3/envs/graphormer/lib/python3.9/site-packages/torch/utils/cpp_extension.py:312: UserWarning:

                           !! WARNING !!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Your compiler (g++ 4.8.5) may be ABI-incompatible with PyTorch! Please use a compiler that is ABI-compatible with GCC 5.0 and above. See https://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html.

See https://gist.github.com/goldsborough/d466f43e8ffc948ff92de7486c5216d6 for instructions on how to install GCC 5 or higher. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

                          !! WARNING !!

warnings.warn(ABI_INCOMPATIBILITY_WARNING.format(compiler)) skipping 'fairseq/data/data_utils_fast.cpp' Cython extension (up-to-date) skipping 'fairseq/data/token_block_utils_fast.cpp' Cython extension (up-to-date) building 'fairseq.libbase' extension gcc -pthread -B /nas1-nfs1/home/rxa200026/miniconda3/envs/graphormer/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /nas1-nfs1/home/rxa200026/miniconda3/envs/graphormer/include -I/nas1-nfs1/home/rxa200026/miniconda3/envs/graphormer/include -fPIC -O2 -isystem /nas1-nfs1/home/rxa200026/miniconda3/envs/graphormer/include -fPIC -I/nas1-nfs1/home/rxa200026/miniconda3/envs/graphormer/lib/python3.9/site-packages/torch/include -I/nas1-nfs1/home/rxa200026/miniconda3/envs/graphormer/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/nas1-nfs1/home/rxa200026/miniconda3/envs/graphormer/lib/python3.9/site-packages/torch/include/TH -I/nas1-nfs1/home/rxa200026/miniconda3/envs/graphormer/lib/python3.9/site-packages/torch/include/THC -I/nas1-nfs1/home/rxa200026/miniconda3/envs/graphormer/include/python3.9 -c fairseq/clib/libbase/balanced_assignment.cpp -o build/temp.linux-x86_64-cpython-39/fairseq/clib/libbase/balanced_assignment.o -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=libbase -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

rezabrizi commented 1 year ago

Please advice! Trying to set it up on a school server. I am not a sudo user.