Raspberry Pi 3 カメラモジュールをつなげる場合、基本はpython2.7で動かすべきでしょうか。python2.7で動いていたカメラモジュールが、python3系に移行してから起動できなくなりました。picamera起動エラーの質問には、python3系が目立ちます。
python2.7に戻す方法もわからないので、berrycondaもインストールして、仮想環境を作りましたが、強制定期にpython3.6になっています。そもそもRaspberry Piは仮想環境で動かすことを前提としていないかもしれないので、仮想環境でカメラモジュールを使おうということに無理がありそうな気もしました。
Raspberry Pi設定ユーティリティのカメラモジュールを有効にし、python3.6の仮想環境上でテストコマンドを実行すると、
sh
1$ raspistill -o image.jpg 2 3mmal: mmal_vc_component_enable: failed to enable component: ENOSPC 4mmal: camera component couldn't be enabled 5mmal: main: Failed to create camera component 6mmal: Failed to run camera app. Please check for firmware updates
というメッセージがでます。
また、リモート環境から実行すると、
sh
1$ raspistill -o image.jpg 2 3mmal: No data received from sensor. 4Check all connections, including the Sunny one on the camera board
というメッセージになります。
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2020/02/27 14:10
2020/02/27 14:10
2020/02/27 14:35