-
Notifications
You must be signed in to change notification settings - Fork 43
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
The 'cmd2' distribution was not found and is required by the application #39
Comments
In my case in addition to |
Also |
|
Should be addressed by #42 and the new release, please close if that resolves your issue. |
I get this message:
with the new version. However:
It feels like this warning is not about pip-autoremove itself, but a side effect of checking one of the many installed packages. Is the cmd2 package warning in the title of this issue the same thing? A good fix for this would be for pip-autoremove to detect when this is happening (possibly difficult) and identify the package that is complaining. |
Similarly, I get these helpful, but ambiguous messages from pip-autoremove:
Which package wants an older version of jedi? If a subprocess is producing that message then, again, this gets difficult, but if pip-autoremove is creating this message then mentioning which package wants an older version would be helpful. |
Good call out. I’ll need to double check to see if we know which package is asking for the requirement.
…-- Brian
On Sep 17, 2021, at 12:38, AJ Slater ***@***.***> wrote:
Similarly, I get these helpful, but ambiguous messages from pip-autoremove:
jedi 0.18.0 is installed but jedi<0.18.0,>=0.17.2 is required
Redoing requirement with just package name...
PyPDF2 1.26.0 is installed but PyPDF2==1.24 is required
Redoing requirement with just package name...
unrar-cffi 0.2.1 is installed but unrar-cffi==0.1.0a5 is required
Redoing requirement with just package name...
natsort 7.1.1 is installed but natsort==3.5.2 is required
Redoing requirement with just package name...
I'm sure all that is true, but which package wants an older version of jedi? If a subprocess is producing that message then, again, this gets difficult, but if pip-autoremove is creating this message then mentioning which package wants an older version would be helpful.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Please test with #45 and let me know if that helps make it more obvious what is going on |
The issue is caused because
cmd2
is not installed withpip-autoremove
Solution:
cmd2
as a dependency insetup.py
file socmd2
is installed automatically and this will fix the issue.For now, any user who is facing this issue can manually install
cmd2
with following command:pip install cmd2
The text was updated successfully, but these errors were encountered: