質問編集履歴

2

加筆

2020/02/26 23:50

投稿

teefpc
teefpc

スコア111

test CHANGED
File without changes
test CHANGED
@@ -55,3 +55,27 @@
55
55
 
56
56
 
57
57
  やりたいことは、Raspberry PiのpythonプログラムでOpenCVのコマンドからUSBカメラ画像を読み込むことです。
58
+
59
+
60
+
61
+ とりあえず、以下の実行が必要であることが分かりました。
62
+
63
+ ```sh
64
+
65
+ # OSの更新
66
+
67
+ sudo apt-get update
68
+
69
+ sudo apt-get upgrade
70
+
71
+
72
+
73
+ # pipの更新
74
+
75
+ sudo apt-get install python3-pip
76
+
77
+ pip install --upgrade pip
78
+
79
+ ```
80
+
81
+ 上記のコマンドの実行の後で、numpy はインストールできるようになりました。

1

sudo コマンドの削除

2020/02/26 23:50

投稿

teefpc
teefpc

スコア111

test CHANGED
File without changes
test CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  ```Linux
4
4
 
5
- $ sudo pip install opencv-contrib-python
5
+ $ pip install opencv-contrib-python
6
6
 
7
7
 
8
8