You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Platform/operating system: Raspberry Pi Zero Running Latest Raspberry Pi Bookworm 32-bit
Python version: Python 3.11.2
When manually installing the Pirate Audio drivers for Mopid, specifically running sudo pip3 install Mopidy-PiDi pidi-display-pil pidi-display-st7789 mopidy-raspberry-gpio --break-system-packages Pip would log Collecting numpy>=1.26.4, and try to install a newer version of Numpy than the one provided by Apt, which is 1.24, (this was also logged by Mopidy in pkg_resources.ContextualVersionConflict: (numpy 1.24.2 (/usr/lib/python3/dist-packages), Requirement.parse('numpy>=1.26.4'), {>. The problem is installing Numpy through Pip instead of Apt would cause the Pirate Audio display to be blank and give the following error:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/dist-packages/numpy/_core/__init__.py", line 23, in <module>
from . import multiarray
File "/usr/local/lib/python3.11/dist-packages/numpy/_core/multiarray.py", line 10, in <module>
from . import overrides
File "/usr/local/lib/python3.11/dist-packages/numpy/_core/overrides.py", line 8, in <module>
from numpy._core._multiarray_umath import (
ImportError: libopenblas.so.0: cannot open shared object file: No such file or directory
The solution for that was to first uninstall the Numpy apt package, then run sudo apt-get install libopenblas-dev followed by sudo pip install numpy --break-system-packages, then re-run sudo pip3 install Mopidy-PiDi pidi-display-pil pidi-display-st7789 mopidy-raspberry-gpio which finally fixed the problem, and now the screen is working.
The text was updated successfully, but these errors were encountered:
Platform/operating system: Raspberry Pi Zero Running Latest Raspberry Pi Bookworm 32-bit
Python version: Python 3.11.2
When manually installing the Pirate Audio drivers for Mopid, specifically running
sudo pip3 install Mopidy-PiDi pidi-display-pil pidi-display-st7789 mopidy-raspberry-gpio --break-system-packages
Pip would logCollecting numpy>=1.26.4
, and try to install a newer version of Numpy than the one provided by Apt, which is 1.24, (this was also logged by Mopidy inpkg_resources.ContextualVersionConflict: (numpy 1.24.2 (/usr/lib/python3/dist-packages), Requirement.parse('numpy>=1.26.4'), {>
. The problem is installing Numpy through Pip instead of Apt would cause the Pirate Audio display to be blank and give the following error:The solution for that was to first uninstall the Numpy apt package, then run
sudo apt-get install libopenblas-dev
followed bysudo pip install numpy --break-system-packages
, then re-runsudo pip3 install Mopidy-PiDi pidi-display-pil pidi-display-st7789 mopidy-raspberry-gpio
which finally fixed the problem, and now the screen is working.The text was updated successfully, but these errors were encountered: