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
[Linux] Illegal instruction error when trying to import psutils #2044
Comments
Same here, v5.9.0 gives "Illegal instruction" immediately after import. With v5.8.0 work fine. |
Same here :( |
No other message other than that? Ugh! :( pip install --no-binary :all: psutil |
Also, does it happen on 32 bit only? |
Note that I have the same problem with Pillow 9.0.0. |
It works fine with this command: pip install --no-binary :all: psutil
|
Same here, but with |
Summary
Description
Setting up a new bullseye RPi image on a Zero W. Previously had psutil working fine.
Installed via pip3 as usual
sudo -H pip3 install --upgrade --force-reinstall --ignore-installed psutil
, installation completed OK. However I found my script wouldn't run, crashing out with 'Illegal instruction' (no traceback message, just immediate termination).I commented out all the imported modules and gradually re-enabled them one by one. As soon as I re-enabled psutil it started crashing again.
I noticed 5.9.0 was a new version and the old version had worked OK on my previous installation so I then downgraded to 5.8.0 via the command
sudo pip3 install psutil==5.8.0
This successfully uninstalled 5.9.0 and installed 5.8.0
My python script then started running fine (including the psutil elements)
The text was updated successfully, but these errors were encountered: