Skip to content
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

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

Open
rezabrizi opened this issue Jun 20, 2023 · 1 comment
Open

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

rezabrizi opened this issue Jun 20, 2023 · 1 comment

Comments

@rezabrizi
Copy link

/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
Copy link
Author

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

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

No branches or pull requests

1 participant