-
Notifications
You must be signed in to change notification settings - Fork 430
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 list prints psutil error on android #1084
Comments
I guess it's related to giampaolo/psutil#2195. |
Ah, thanks Seems that it does not impact functionality, from the comment here:
Otherwise seems like Not sure what the status on that is... it does look like they renamed the error its meant to show this to the user and I do see the new error text that was updated in version |
Do you have any idea why this error was outputted? |
Oh, that is even more strange I will try creating a venv and installing pipx there to see if I can debug |
Followed the import chain:
It looks to be a transient, optional dependency from Can confirm if I uninstall I think will create an issue in userpath, this probably shouldnt print an error just on import if psutils fails that check... Though, I dont think psutil is incredibly broken on android or anything, it is just that it prints this stack trace if a check fails. typical functionality works fine:
|
Thanks for your investigation, and I will close this issue since there's nothing we can do here. |
I have fixed this in giampaolo/psutil@becbe86. The error/exception is no longer printed on screen. It is only shown by using |
Describe the bug
On android, running many different commands
pipx list
/pipx install
print an error like this:similarly with any pipx install:
Im not sure if this actually impacts functionality, i.e. I can still list/install packages, it just probably shouldnt print this error or do something custom on android
I had thought this might be because on android the typical linux directories may not be present. but
/proc
is present on android:How to reproduce
Believe I'm on the latest versions:
Running
pipx list
would print the errorI dont think this is related to this other issue
The text was updated successfully, but these errors were encountered: