pipx icon indicating copy to clipboard operation
pipx copied to clipboard

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

Open mcint opened this issue 1 year ago • 0 comments

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.

mcint avatar Nov 04 '24 18:11 mcint