pythongssapi / pythongssapi/python-gssapi

Unable to install on Windows

Đang mở
#357 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.

Ngôn ngữ chính
Python
Star
116
Fork
55
Merge trung bình
1 ngày 24 phút
Pull request đã merge (30 ngày)
2

Mô tả

Although I do have Visual Studio 2022 (v17.13.6, with Build Tools) installed already, pip is still unable to install python-gssapi:

pip install --user python-gssapi
Collecting python-gssapi
  Using cached python-gssapi-0.6.4.tar.gz (28 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [8 lines of output]
      running dist_info
      creating C:\Users\meow\AppData\Local\Temp\pip-modern-metadata-9do2fu7a\python_gssapi.egg-info
      writing C:\Users\meow\AppData\Local\Temp\pip-modern-metadata-9do2fu7a\python_gssapi.egg-info\PKG-INFO
      writing dependency_links to C:\Users\meow\AppData\Local\Temp\pip-modern-metadata-9do2fu7a\python_gssapi.egg-info\dependency_links.txt
      writing requirements to C:\Users\meow\AppData\Local\Temp\pip-modern-metadata-9do2fu7a\python_gssapi.egg-info\requires.txt
      writing top-level names to C:\Users\meow\AppData\Local\Temp\pip-modern-metadata-9do2fu7a\python_gssapi.egg-info\top_level.txt
      writing manifest file 'C:\Users\meow\AppData\Local\Temp\pip-modern-metadata-9do2fu7a\python_gssapi.egg-info\SOURCES.txt'
      error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Image

Please, advise.

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.

Hướng nghiên cứu

Bắt đầu với bước tạo siêu dữ liệu của pyproject.toml và lệnh pip install được báo cáo trên Windows. Xác định lý do các Visual Studio 2022 Build Tools hiện có không được nhận diện trong quá trình cài đặt; được coi là hoàn tất khi gói được cài đặt thành công trên thiết lập Windows đã báo cáo hoặc các điều kiện tiên quyết và giới hạn cần thiết được ghi lại.

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

Đánh giá

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

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.