Python is installed by default as a "system-wide" installation as part of the Raspberry Pi OS.
By default, in the latest version of Raspberry Pi OS you cannot install Python packages in the global Python ("system-wide" installation) environment on the Raspberry Pi OS.
This is due to security reasons and the fact that you can destroy this environment by installing new packages which can cause other programs on Raspberry Pi OS to no longer work.
You have then several options when installing Python packages on Raspberry Pi which will be presented here.
PowerPoint used in the video:
https://www.halvorsen.blog/documents/...
Blog:
https://www.halvorsen.blog
YouTube Channel @Industrial IT and Automation
/ industrialitandautomation