Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pipx local-install reports "requires a different python", but not on install from pypi #1567

Open
mcint opened this issue Nov 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mcint
Copy link

mcint commented Nov 4, 2024

Describe the bug / How to reproduce / Expected behavior

Compare attempt to install from Pypi to local install from repo.

With python3.10 default for pipx from the environment, installing from pypi

$ pipx install venvstacks

No apps associated with package venvstacks or its dependencies. If you are attempting to install a library, pipx should not be used.
Consider using pip or a similar tool instead.

With the repository cloned, attempt to install yields more helpful advice:

~/repos/venvstacks$ pipx install .
ERROR: Package 'venvstacks' requires a different Python: 3.10.12 not in '>=3.11'
Cannot determine package name from spec '/home/user/repos/venvstacks'. Check package spec for errors.
@dukecat0 dukecat0 added the bug Something isn't working label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants