pythongssapi / pythongssapi/python-gssapi

Unable to install on Windows

オープン
#357 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Python
スター
116
フォーク
55
平均マージ
1日 24分
マージ済み PR(30日)
2

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

pyproject.toml のメタデータ生成ステップと、Windows で報告されている pip install コマンドから始めます。インストール中に既存の Visual Studio 2022 Build Tools が認識されない理由を特定します。報告された Windows 環境でパッケージが正常にインストールできるか、必要な前提条件と制限事項が文書化されれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
build-system, operating-systems
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。