Skip to content

Unable to install on Windows #357

@UnitedMarsupials

Description

@UnitedMarsupials

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions