Behebung von ModuleNotFoundError: No module named 'picamera'
English
Deutsch
Problem:
Du möchtest ein Python-Skript mit der Raspberry Pi-Kamera ausführen, siehst aber eine Fehlermeldung wie
picamera_traceback.txt
Traceback (most recent call last):
File "mycamera.py", line 2, in <module>
import picamera
ModuleNotFoundError: No module named 'picamera'Lösung
Du musst das picamera-Python-Modul mit pip installieren:
pip_install_picamera.sh
pip install -U picameraFalls du siehst
sudo_pip_not_found.txt
sudo: pip: command not foundinstalliere pip mit
install_python3_pip.sh
sudo apt install -y python3-pipCheck out similar posts by category:
Python, Raspberry Pi
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow