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

failed to install pype with pip

Đang mở
#216 0 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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
cpp, python
Lĩnh vực
build-system

Hướng nghiên cứu

Tái hiện lỗi của pip3 install pepy trên Windows với Python 3.13, sau đó kiểm tra cấu hình build của package trong pyproject.toml và đường dẫn được đóng gói pe-parser-library/src/buffer.cpp hiển thị trong lỗi. Được xem là hoàn tất khi package build extension của nó và cài đặt thành công trong môi trường được nêu.

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

Mô tả

When I've tried to install pype with pip it shows this error:

PS C:\Users\Mohamed> pip3 install pepy
Collecting pepy
  Downloading pepy-2.1.1.tar.gz (15 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: pepy
  Building wheel for pepy (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for pepy (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [10 lines of output]
      running bdist_wheel
      running build
      running build_ext
      building 'pepy' extension
      creating build\temp.win-amd64-cpython-313\Release\Users\Mohamed\AppData\Local\Temp\pip-install-34_ufjwn\pepy_32cca2f9d0c34144b395c21a2cee9386\pe-parser-library\src
      creating build\temp.win-amd64-cpython-313\Release\Users\Mohamed\AppData\Local\Temp\pip-install-34_ufjwn\pepy_32cca2f9d0c34144b395c21a2cee9386\pepy
      "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.44.35207\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DPEPARSE_VERSION=\"2.1.1\" -IC:\Users\Mohamed\AppData\Local\Programs\Python\Python313\include -IC:\Users\Mohamed\AppData\Local\Temp\pip-install-34_ufjwn\pepy_32cca2f9d0c34144b395c21a2cee9386\pe-parser-library\include -IC:\usr\include -IC:\Users\Mohamed\AppData\Local\Programs\Python\Python313\include -IC:\Users\Mohamed\AppData\Local\Programs\Python\Python313\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.44.35207\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.26100.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.26100.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.26100.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.26100.0\\cppwinrt" /EHsc /TpC:\Users\Mohamed\AppData\Local\Temp\pip-install-34_ufjwn\pepy_32cca2f9d0c34144b395c21a2cee9386\pe-parser-library\src\buffer.cpp /Fobuild\temp.win-amd64-cpython-313\Release\Users\Mohamed\AppData\Local\Temp\pip-install-34_ufjwn\pepy_32cca2f9d0c34144b395c21a2cee9386\pe-parser-library\src\buffer.obj /EHsc
      buffer.cpp
      c1xx: fatal error C1083: Cannot open source file: 'C:\Users\Mohamed\AppData\Local\Temp\pip-install-34_ufjwn\pepy_32cca2f9d0c34144b395c21a2cee9386\pe-parser-library\src\buffer.cpp': No such file or directory
      error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.44.35207\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pepy
Failed to build pepy
error: failed-wheel-build-for-install

× Failed to build installable wheels for some pyproject.toml based projects
╰─> pepy
Ngôn ngữ chính
C++
Star
913
Fork
171
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

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 trailofbits/pe-parse

Tất cả issue của trailofbits/pe-parse

Issue tương tự

Thêm issue về C++

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.