pythongssapi / pythongssapi/python-gssapi

Unable to install on Windows

Open
#357 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
116
Forks
55
Avg merge
1d 24m
Merged PRs (30d)
2

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the pyproject.toml metadata-generation step and the reported pip install command on Windows. Determine why the existing Visual Studio 2022 Build Tools are not recognized during installation; done means the package installs successfully on the reported Windows setup or the required prerequisites and limitation are documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.