質問編集履歴
3
タイトル修正
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
Docker
|
1
|
+
【Docker】Dockerfileからイメージをビルドする時にエラー発生
|
body
CHANGED
File without changes
|
2
文法の修正
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
Dockerで
|
1
|
+
Dockerでイメージをビルドする時にエラー発生[ During handling of the above exception, another exception occurred: ]
|
body
CHANGED
@@ -1,15 +1,22 @@
|
|
1
1
|
### 前提・実現したいこと
|
2
2
|
|
3
|
-
Dockerでmediapipeのイメージ
|
3
|
+
Dockerでmediapipeのイメージのビルドからコンテナ起動までを実現したい。
|
4
4
|
mediapipeのビルドは下記を参考。
|
5
5
|
https://google.github.io/mediapipe/getting_started/install.html#installing-using-docker
|
6
6
|
|
7
7
|
### 発生している問題・エラーメッセージ
|
8
8
|
|
9
9
|
```
|
10
|
-
|
10
|
+
During handling of the above exception, another exception occurred:
|
11
|
+
|
12
|
+
Traceback (most recent call last):
|
13
|
+
File "/usr/lib/python3/dist-packages/pip/req/req_install.py", line 82, in __init__
|
14
|
+
req = Requirement(req)
|
11
|
-
|
15
|
+
File "/usr/share/python-wheels/packaging-17.1-py2.py3-none-any.whl/packaging/requirements.py", line 97, in __init__
|
12
|
-
|
16
|
+
requirement_string[e.loc:e.loc + 8]))
|
17
|
+
pip._vendor.packaging.requirements.InvalidRequirement: Invalid requirement, parse error at "'=='"
|
18
|
+
|
19
|
+
The command '/bin/sh -c pip3 install six == 1.14.0' returned a non-zero code: 1
|
13
20
|
```
|
14
21
|
|
15
22
|
### 該当のソースコード
|
@@ -17,11 +24,11 @@
|
|
17
24
|
```iterm2
|
18
25
|
git clone https://github.com/google/mediapipe.git
|
19
26
|
cd mediapipe
|
20
|
-
docker build -
|
27
|
+
docker build -t dc_mediapipe /Users/440h/mediapipe/
|
21
28
|
```
|
22
29
|
```iterm2
|
23
30
|
ここでエラー発生
|
24
|
-
docker
|
31
|
+
docker build -t dc_mediapipe /Users/440h/mediapipe/
|
25
32
|
```
|
26
33
|
```dockerfile
|
27
34
|
FROM ubuntu:18.04
|
@@ -92,7 +99,6 @@
|
|
92
99
|
six
|
93
100
|
wheel
|
94
101
|
```
|
95
|
-

|
96
102
|
|
97
103
|
### 試したこと
|
98
104
|
docker login してからやってみましたが結果は同じでした。
|
1
文法の修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
### 前提・実現したいこと
|
2
2
|
|
3
3
|
Dockerでmediapipeのイメージ作成からコンテナ起動までを実現したい。
|
4
|
+
mediapipeのビルドは下記を参考。
|
5
|
+
https://google.github.io/mediapipe/getting_started/install.html#installing-using-docker
|
4
6
|
|
5
7
|
### 発生している問題・エラーメッセージ
|
6
8
|
|