Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#167 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
32/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
cpp, python, pytorch

Hướng nghiên cứu

Bắt đầu với install.sh và bước build fairseq/clib/libbase/balanced_assignment.cpp, sau đó kiểm tra các phiên bản Python, PyTorch, pip và GCC được báo cáo trong môi trường. So sánh các yêu cầu cài đặt với thiết lập không dùng sudo được mô tả trong issue; hoàn thành có nghĩa là đường dẫn cài đặt chạy xong mà không gặp lỗi trình biên dịch.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

/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

Ngôn ngữ chính
Python
Star
2.5k
Fork
374
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của microsoft/Graphormer

Tất cả issue của microsoft/Graphormer

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.