質問編集履歴
1
テストコマンドを実行した際のエラーメッセージを追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -3,3 +3,43 @@
|
|
3
3
|
|
4
4
|
|
5
5
|
python2.7に戻す方法もわからないので、berrycondaもインストールして、仮想環境を作りましたが、強制定期にpython3.6になっています。そもそもRaspberry Piは仮想環境で動かすことを前提としていないかもしれないので、仮想環境でカメラモジュールを使おうということに無理がありそうな気もしました。
|
6
|
+
|
7
|
+
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
Raspberry Pi設定ユーティリティのカメラモジュールを有効にし、python3.6の仮想環境上でテストコマンドを実行すると、
|
12
|
+
|
13
|
+
```sh
|
14
|
+
|
15
|
+
$ raspistill -o image.jpg
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
mmal: mmal_vc_component_enable: failed to enable component: ENOSPC
|
20
|
+
|
21
|
+
mmal: camera component couldn't be enabled
|
22
|
+
|
23
|
+
mmal: main: Failed to create camera component
|
24
|
+
|
25
|
+
mmal: Failed to run camera app. Please check for firmware updates
|
26
|
+
|
27
|
+
```
|
28
|
+
|
29
|
+
というメッセージがでます。
|
30
|
+
|
31
|
+
また、リモート環境から実行すると、
|
32
|
+
|
33
|
+
```sh
|
34
|
+
|
35
|
+
$ raspistill -o image.jpg
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
mmal: No data received from sensor.
|
40
|
+
|
41
|
+
Check all connections, including the Sunny one on the camera board
|
42
|
+
|
43
|
+
```
|
44
|
+
|
45
|
+
というメッセージになります。
|