質問編集履歴
2
追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -70,6 +70,40 @@
|
|
70
70
|
|
71
71
|
pipのバージョンを最新にしてみたが、エラーが出てしまった。
|
72
72
|
|
73
|
+
```
|
74
|
+
|
75
|
+
ERROR: Command errored out with exit status 1:
|
76
|
+
|
77
|
+
command: /Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/tmp/pip-req-build-615zhefk/setup.py'"'"'; __file__='"'"'/private/tmp/pip-req-build-615zhefk/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/tmp/pip-pip-egg-info-iue1g1x9
|
78
|
+
|
79
|
+
cwd: /private/tmp/pip-req-build-615zhefk/
|
80
|
+
|
81
|
+
Complete output (9 lines):
|
82
|
+
|
83
|
+
Traceback (most recent call last):
|
84
|
+
|
85
|
+
File "<string>", line 1, in <module>
|
86
|
+
|
87
|
+
File "/private/tmp/pip-req-build-615zhefk/setup.py", line 34, in <module>
|
88
|
+
|
89
|
+
import bnn
|
90
|
+
|
91
|
+
File "/private/tmp/pip-req-build-615zhefk/bnn/__init__.py", line 1, in <module>
|
92
|
+
|
93
|
+
from .bnn import PynqBNN, CnvClassifier, LfcClassifier, RUNTIME_HW, RUNTIME_SW
|
94
|
+
|
95
|
+
File "/private/tmp/pip-req-build-615zhefk/bnn/bnn.py", line 30, in <module>
|
96
|
+
|
97
|
+
from pynq import Overlay, PL
|
98
|
+
|
99
|
+
ModuleNotFoundError: No module named 'pynq'
|
100
|
+
|
101
|
+
----------------------------------------
|
102
|
+
|
103
|
+
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
|
104
|
+
|
105
|
+
```
|
106
|
+
|
73
107
|
|
74
108
|
|
75
109
|
また、https://github.com/Xilinx/BNN-PYNQを参考に、
|
1
書式の改善
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,6 +1,4 @@
|
|
1
1
|
### 前提・実現したいこと
|
2
|
-
|
3
|
-
|
4
2
|
|
5
3
|
BNN-PYNQのインストールをしたいのですが、どうしてもエラーが出てしまいます。
|
6
4
|
|
@@ -18,39 +16,39 @@
|
|
18
16
|
|
19
17
|
```
|
20
18
|
|
21
|
-
|
19
|
+
Processing ./BNN-PYNQ
|
22
20
|
|
23
|
-
|
24
|
-
|
25
|
-
cwd: /private/tmp/pip-req-build-u90lu5_w/
|
26
|
-
|
27
|
-
Complete output (9 lines):
|
21
|
+
Complete output from command python setup.py egg_info:
|
28
22
|
|
29
23
|
Traceback (most recent call last):
|
30
24
|
|
31
25
|
File "<string>", line 1, in <module>
|
32
26
|
|
33
|
-
File "/private/tmp/pip-
|
27
|
+
File "/private/tmp/pip-s409_zly-build/setup.py", line 34, in <module>
|
34
28
|
|
35
29
|
import bnn
|
36
30
|
|
37
|
-
File "/private/tmp/pip-
|
31
|
+
File "/private/tmp/pip-s409_zly-build/bnn/__init__.py", line 1, in <module>
|
38
32
|
|
39
33
|
from .bnn import PynqBNN, CnvClassifier, LfcClassifier, RUNTIME_HW, RUNTIME_SW
|
40
34
|
|
41
|
-
File "/private/tmp/pip-
|
35
|
+
File "/private/tmp/pip-s409_zly-build/bnn/bnn.py", line 30, in <module>
|
42
36
|
|
43
37
|
from pynq import Overlay, PL
|
44
38
|
|
45
39
|
ModuleNotFoundError: No module named 'pynq'
|
46
40
|
|
41
|
+
|
42
|
+
|
47
43
|
----------------------------------------
|
48
44
|
|
45
|
+
Command "python setup.py egg_info" failed with error code 1 in /private/tmp/pip-s409_zly-build/
|
46
|
+
|
47
|
+
You are using pip version 9.0.1, however version 20.2.4 is available.
|
48
|
+
|
49
|
-
|
49
|
+
You should consider upgrading via the 'pip install --upgrade pip' command.
|
50
50
|
|
51
51
|
```
|
52
|
-
|
53
|
-
|
54
52
|
|
55
53
|
|
56
54
|
|
@@ -58,16 +56,34 @@
|
|
58
56
|
|
59
57
|
|
60
58
|
|
61
|
-
```
|
59
|
+
```
|
62
60
|
|
63
|
-
$ sudo -H pip3 install BNN-PYNQ/
|
61
|
+
$ sudo -H pip3.6 install BNN-PYNQ/
|
64
62
|
|
65
63
|
```
|
66
64
|
|
67
65
|
|
68
66
|
|
67
|
+
### 試したこと
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
pipのバージョンを最新にしてみたが、エラーが出てしまった。
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
また、https://github.com/Xilinx/BNN-PYNQを参考に、
|
76
|
+
|
77
|
+
```
|
78
|
+
|
79
|
+
$ sudo -H pip3.6 install git+https://github.com/Xilinx/BNN-PYNQ.git
|
80
|
+
|
81
|
+
```
|
82
|
+
|
83
|
+
を試したが今回と同じエラーが出てしまった。
|
84
|
+
|
69
85
|
### 補足情報(FW/ツールのバージョンなど)
|
70
86
|
|
71
|
-
pip
|
87
|
+
pip 9.0.1
|
72
88
|
|
73
|
-
python
|
89
|
+
python 3.6
|