-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Invalid version and will not be supported in a future release #5208
Comments
@kaykhan This issue has been reported from time to time, but unfortunately it is really challenging to figure out where pipenv could be invoking this from. Could you try the main branch of pipenv |
@matteius im using Still get the same error is there anything else i can do to help debug? Just looking into this further i came across another post -- apparently its an issue with "setuptools"? Ive not had a chance to apply the solution (downgrade) to test if that is it Although the actual github thread the op suggest this problem does not occur in version 59. pypa/setuptools#3278 - but in my case it does, but not sure if its the same issue or related.
|
Downgrading setuptools really should not be the answer. It's just a warning, you can ignore it for now until it can be figured out. |
Okay thank you, i will check back at a later date and if theres anyting else i can do/try to help let me know! |
@kaykhan I would be curious to know, if you still get the error with |
@matteius Upgraded pipenv for you, unfortunately i still get these errors/warnings 1. pipenv --version
2. pip install --upgrade pipenv 3. pipenv --version
|
The warning will show up even when entering the following: $ pipenv help
/home/user/.local/lib/python3.8/site-packages/pkg_resources/__init__.py:123: PkgResourcesDeprecationWarning: 1.13.1-unknown is an invalid version and will not be supported in a future release
warnings.warn(
/home/user/.local/lib/python3.8/site-packages/pkg_resources/__init__.py:123: PkgResourcesDeprecationWarning: 0.23ubuntu1 is an invalid version and will not be supported in a future release
warnings.warn(
/home/user/.local/lib/python3.8/site-packages/pkg_resources/__init__.py:123: PkgResourcesDeprecationWarning: 0.1.36ubuntu1 is an invalid version and will not be supported in a future release
warnings.warn(
Usage: pipenv [OPTIONS] COMMAND [ARGS]...
Try 'pipenv -h' for help.
Error: No such command 'help'.
Did you mean one of these?
shell This means that the problem lies before or while parsing the cmd arguments. |
I am using WSL2 Ubuntu 18.04 By just checking the version, I also get this error:
|
|
I have just come across this issue mentioned by @kaykhan previously but for me, the issue is appearing on GitHub when I was trying to run a job. I have also tried including the "pip install git+https://github.com/pypa/pipenv.git@main" on the main branch (suggested by @matteius ) but unfortunately, I still face the same issue 😭 Hope to know if anyone knows how to resolve this? 🙏🏻 |
@fatraphael95 that fix was released to pypi a while ago. Is it possible you are invoking |
Hi @matteius, sorry I'm quite new to this and not quite sure what you mean by invoking |
@fatraphael95 you should not have to install |
@matteius ohh i see and yes it was not the latest version. I have updated the requirement.txt file and it is working now. Thanks a lot for your kind help! :) |
When i run
pipenv shell
i get the following warning/error?pipenv shell
python --version
Python 3.10.4
OS
Ubuntu 22.04
The text was updated successfully, but these errors were encountered: