d7de1378c6bc1bdc7a2223de9b4829bdb93e3656
yolox/ERROR: Failed building wheel for onnx.md
... | ... | @@ -0,0 +1,229 @@ |
1 | +``` |
|
2 | +% uname -a |
|
3 | +Darwin [host name] 19.6.0 Darwin Kernel Version 19.6.0: Thu Sep 16 20:58:47 PDT 2021; root:xnu-6153.141.40.1~1/RELEASE_X86_64 x86_64 |
|
4 | +``` |
|
5 | + |
|
6 | +``` |
|
7 | +(.venv) % pip install -r requirements.txt |
|
8 | +Collecting numpy |
|
9 | + Using cached numpy-1.21.2-cp39-cp39-macosx_10_9_x86_64.whl (17.0 MB) |
|
10 | +Collecting torch>=1.7 |
|
11 | + Using cached torch-1.9.1-cp39-none-macosx_10_9_x86_64.whl (218.8 MB) |
|
12 | +Collecting opencv_python |
|
13 | + Using cached opencv_python-4.5.3.56-cp39-cp39-macosx_10_15_x86_64.whl (42.6 MB) |
|
14 | +Collecting loguru |
|
15 | + Using cached loguru-0.5.3-py3-none-any.whl (57 kB) |
|
16 | +Collecting scikit-image |
|
17 | + Using cached scikit_image-0.18.3-cp39-cp39-macosx_10_9_x86_64.whl (13.1 MB) |
|
18 | +Collecting tqdm |
|
19 | + Using cached tqdm-4.62.3-py2.py3-none-any.whl (76 kB) |
|
20 | +Collecting torchvision |
|
21 | + Using cached torchvision-0.10.1-cp39-cp39-macosx_10_9_x86_64.whl (14.2 MB) |
|
22 | +Collecting Pillow |
|
23 | + Using cached Pillow-8.4.0-cp39-cp39-macosx_10_10_x86_64.whl (3.0 MB) |
|
24 | +Collecting thop |
|
25 | + Using cached thop-0.0.31.post2005241907-py3-none-any.whl (8.7 kB) |
|
26 | +Collecting ninja |
|
27 | + Using cached ninja-1.10.2.2-py2.py3-none-macosx_10_9_universal2.macosx_10_9_x86_64.macosx_11_0_arm64.macosx_11_0_universal2.whl (225 kB) |
|
28 | +Collecting tabulate |
|
29 | + Using cached tabulate-0.8.9-py3-none-any.whl (25 kB) |
|
30 | +Collecting tensorboard |
|
31 | + Using cached tensorboard-2.7.0-py3-none-any.whl (5.8 MB) |
|
32 | +Collecting onnx==1.8.1 |
|
33 | + Using cached onnx-1.8.1.tar.gz (5.2 MB) |
|
34 | + Installing build dependencies ... done |
|
35 | + Getting requirements to build wheel ... done |
|
36 | + Installing backend dependencies ... done |
|
37 | + Preparing wheel metadata (pyproject.toml) ... done |
|
38 | +Collecting onnxruntime==1.8.0 |
|
39 | + Downloading onnxruntime-1.8.0-cp39-cp39-macosx_10_12_x86_64.whl (5.0 MB) |
|
40 | + |████████████████████████████████| 5.0 MB 2.1 MB/s |
|
41 | +Collecting onnx-simplifier==0.3.5 |
|
42 | + Downloading onnx-simplifier-0.3.5.tar.gz (13 kB) |
|
43 | + Preparing metadata (setup.py) ... done |
|
44 | +Collecting six |
|
45 | + Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) |
|
46 | +Collecting protobuf |
|
47 | + Using cached protobuf-3.18.1-cp39-cp39-macosx_10_9_x86_64.whl (1.0 MB) |
|
48 | +Collecting typing-extensions>=3.6.2.1 |
|
49 | + Downloading typing_extensions-3.10.0.2-py3-none-any.whl (26 kB) |
|
50 | +Collecting flatbuffers |
|
51 | + Downloading flatbuffers-2.0-py2.py3-none-any.whl (26 kB) |
|
52 | +Collecting onnxoptimizer>=0.2.5 |
|
53 | + Downloading onnxoptimizer-0.2.6-cp39-cp39-macosx_10_9_x86_64.whl (416 kB) |
|
54 | + |████████████████████████████████| 416 kB 32.0 MB/s |
|
55 | +Collecting PyWavelets>=1.1.1 |
|
56 | + Downloading PyWavelets-1.1.1-cp39-cp39-macosx_10_9_x86_64.whl (4.3 MB) |
|
57 | + |████████████████████████████████| 4.3 MB 33.8 MB/s |
|
58 | +Collecting matplotlib!=3.0.0,>=2.0.0 |
|
59 | + Downloading matplotlib-3.4.3-cp39-cp39-macosx_10_9_x86_64.whl (7.2 MB) |
|
60 | + |████████████████████████████████| 7.2 MB 34.3 MB/s |
|
61 | +Collecting networkx>=2.0 |
|
62 | + Downloading networkx-2.6.3-py3-none-any.whl (1.9 MB) |
|
63 | + |████████████████████████████████| 1.9 MB 34.0 MB/s |
|
64 | +Collecting tifffile>=2019.7.26 |
|
65 | + Downloading tifffile-2021.10.12-py3-none-any.whl (175 kB) |
|
66 | + |████████████████████████████████| 175 kB 55.0 MB/s |
|
67 | +Collecting imageio>=2.3.0 |
|
68 | + Downloading imageio-2.9.0-py3-none-any.whl (3.3 MB) |
|
69 | + |████████████████████████████████| 3.3 MB 36.8 MB/s |
|
70 | +Collecting scipy>=1.0.1 |
|
71 | + Downloading scipy-1.7.1-cp39-cp39-macosx_10_9_x86_64.whl (32.8 MB) |
|
72 | + |████████████████████████████████| 32.8 MB 33.8 MB/s |
|
73 | +Collecting absl-py>=0.4 |
|
74 | + Downloading absl_py-0.14.1-py3-none-any.whl (131 kB) |
|
75 | + |████████████████████████████████| 131 kB 56.3 MB/s |
|
76 | +Collecting tensorboard-data-server<0.7.0,>=0.6.0 |
|
77 | + Downloading tensorboard_data_server-0.6.1-py3-none-macosx_10_9_x86_64.whl (3.5 MB) |
|
78 | + |████████████████████████████████| 3.5 MB 36.3 MB/s |
|
79 | +Collecting grpcio>=1.24.3 |
|
80 | + Downloading grpcio-1.41.0-cp39-cp39-macosx_10_10_x86_64.whl (3.9 MB) |
|
81 | + |████████████████████████████████| 3.9 MB 51.4 MB/s |
|
82 | +Collecting werkzeug>=0.11.15 |
|
83 | + Downloading Werkzeug-2.0.2-py3-none-any.whl (288 kB) |
|
84 | + |████████████████████████████████| 288 kB 40.7 MB/s |
|
85 | +Collecting wheel>=0.26 |
|
86 | + Using cached wheel-0.37.0-py2.py3-none-any.whl (35 kB) |
|
87 | +Collecting tensorboard-plugin-wit>=1.6.0 |
|
88 | + Downloading tensorboard_plugin_wit-1.8.0-py3-none-any.whl (781 kB) |
|
89 | + |████████████████████████████████| 781 kB 42.8 MB/s |
|
90 | +Collecting markdown>=2.6.8 |
|
91 | + Downloading Markdown-3.3.4-py3-none-any.whl (97 kB) |
|
92 | + |████████████████████████████████| 97 kB 14.2 MB/s |
|
93 | +Collecting google-auth-oauthlib<0.5,>=0.4.1 |
|
94 | + Downloading google_auth_oauthlib-0.4.6-py2.py3-none-any.whl (18 kB) |
|
95 | +Collecting google-auth<3,>=1.6.3 |
|
96 | + Downloading google_auth-2.3.0-py2.py3-none-any.whl (154 kB) |
|
97 | + |████████████████████████████████| 154 kB 35.7 MB/s |
|
98 | +Collecting requests<3,>=2.21.0 |
|
99 | + Downloading requests-2.26.0-py2.py3-none-any.whl (62 kB) |
|
100 | + |████████████████████████████████| 62 kB 1.5 MB/s |
|
101 | +Requirement already satisfied: setuptools>=41.0.0 in ./.venv/lib/python3.9/site-packages (from tensorboard->-r requirements.txt (line 13)) (57.4.0) |
|
102 | +Collecting cachetools<5.0,>=2.0.0 |
|
103 | + Downloading cachetools-4.2.4-py3-none-any.whl (10 kB) |
|
104 | +Collecting rsa<5,>=3.1.4 |
|
105 | + Downloading rsa-4.7.2-py3-none-any.whl (34 kB) |
|
106 | +Collecting pyasn1-modules>=0.2.1 |
|
107 | + Downloading pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB) |
|
108 | + |████████████████████████████████| 155 kB 41.7 MB/s |
|
109 | +Collecting requests-oauthlib>=0.7.0 |
|
110 | + Downloading requests_oauthlib-1.3.0-py2.py3-none-any.whl (23 kB) |
|
111 | +Collecting cycler>=0.10 |
|
112 | + Downloading cycler-0.10.0-py2.py3-none-any.whl (6.5 kB) |
|
113 | +Collecting python-dateutil>=2.7 |
|
114 | + Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) |
|
115 | + |████████████████████████████████| 247 kB 35.9 MB/s |
|
116 | +Collecting pyparsing>=2.2.1 |
|
117 | + Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB) |
|
118 | + |████████████████████████████████| 67 kB 16.9 MB/s |
|
119 | +Collecting kiwisolver>=1.0.1 |
|
120 | + Downloading kiwisolver-1.3.2-cp39-cp39-macosx_10_9_x86_64.whl (61 kB) |
|
121 | + |████████████████████████████████| 61 kB 582 kB/s |
|
122 | +Collecting idna<4,>=2.5 |
|
123 | + Downloading idna-3.3-py3-none-any.whl (61 kB) |
|
124 | + |████████████████████████████████| 61 kB 16.2 MB/s |
|
125 | +Collecting urllib3<1.27,>=1.21.1 |
|
126 | + Downloading urllib3-1.26.7-py2.py3-none-any.whl (138 kB) |
|
127 | + |████████████████████████████████| 138 kB 40.6 MB/s |
|
128 | +Collecting certifi>=2017.4.17 |
|
129 | + Downloading certifi-2021.10.8-py2.py3-none-any.whl (149 kB) |
|
130 | + |████████████████████████████████| 149 kB 37.4 MB/s |
|
131 | +Collecting charset-normalizer~=2.0.0 |
|
132 | + Downloading charset_normalizer-2.0.7-py3-none-any.whl (38 kB) |
|
133 | +Collecting pyasn1<0.5.0,>=0.4.6 |
|
134 | + Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB) |
|
135 | + |████████████████████████████████| 77 kB 11.2 MB/s |
|
136 | +Collecting oauthlib>=3.0.0 |
|
137 | + Downloading oauthlib-3.1.1-py2.py3-none-any.whl (146 kB) |
|
138 | + |████████████████████████████████| 146 kB 35.5 MB/s |
|
139 | +Using legacy 'setup.py install' for onnx-simplifier, since package 'wheel' is not installed. |
|
140 | +Building wheels for collected packages: onnx |
|
141 | + Building wheel for onnx (pyproject.toml) ... error |
|
142 | + ERROR: Command errored out with exit status 1: |
|
143 | + command: /Users/takuya/YOLOX/.venv/bin/python3.9 /Users/takuya/YOLOX/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /var/folders/90/j35dbhzd2rd0hdmdvqnls8kh0000gn/T/tmpug1w68rs |
|
144 | + cwd: /private/var/folders/90/j35dbhzd2rd0hdmdvqnls8kh0000gn/T/pip-install-bvj01sqd/onnx_3d4094e84ac448ff97d10ef2e59d4aeb |
|
145 | + Complete output (79 lines): |
|
146 | + fatal: not a git repository (or any of the parent directories): .git |
|
147 | + /private/var/folders/90/j35dbhzd2rd0hdmdvqnls8kh0000gn/T/pip-build-env-z1f2srpi/overlay/lib/python3.9/site-packages/setuptools/dist.py:717: UserWarning: Usage of dash-separated 'license-file' will not be supported in future versions. Please use the underscore name 'license_file' instead |
|
148 | + warnings.warn( |
|
149 | + running bdist_wheel |
|
150 | + running build |
|
151 | + running build_py |
|
152 | + running create_version |
|
153 | + running cmake_build |
|
154 | + -- The C compiler identification is AppleClang 12.0.0.12000032 |
|
155 | + -- The CXX compiler identification is AppleClang 12.0.0.12000032 |
|
156 | + -- Detecting C compiler ABI info |
|
157 | + -- Detecting C compiler ABI info - done |
|
158 | + -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped |
|
159 | + -- Detecting C compile features |
|
160 | + -- Detecting C compile features - done |
|
161 | + -- Detecting CXX compiler ABI info |
|
162 | + -- Detecting CXX compiler ABI info - done |
|
163 | + -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped |
|
164 | + -- Detecting CXX compile features |
|
165 | + -- Detecting CXX compile features - done |
|
166 | + -- Found PythonInterp: /Users/takuya/YOLOX/.venv/bin/python3.9 (found version "3.9.7") |
|
167 | + -- Found PythonLibs: /usr/local/Frameworks/Python.framework/Versions/3.9/lib/libpython3.9.dylib (found version "3.9.7") |
|
168 | + Generated: /private/var/folders/90/j35dbhzd2rd0hdmdvqnls8kh0000gn/T/pip-install-bvj01sqd/onnx_3d4094e84ac448ff97d10ef2e59d4aeb/.setuptools-cmake-build/onnx/onnx-ml.proto |
|
169 | + CMake Error at CMakeLists.txt:261 (message): |
|
170 | + Protobuf compiler not found |
|
171 | + Call Stack (most recent call first): |
|
172 | + CMakeLists.txt:292 (relative_protobuf_generate_cpp) |
|
173 | + |
|
174 | + |
|
175 | + -- Configuring incomplete, errors occurred! |
|
176 | + See also "/private/var/folders/90/j35dbhzd2rd0hdmdvqnls8kh0000gn/T/pip-install-bvj01sqd/onnx_3d4094e84ac448ff97d10ef2e59d4aeb/.setuptools-cmake-build/CMakeFiles/CMakeOutput.log". |
|
177 | + Traceback (most recent call last): |
|
178 | + File "/Users/takuya/YOLOX/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 349, in <module> |
|
179 | + main() |
|
180 | + File "/Users/takuya/YOLOX/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 331, in main |
|
181 | + json_out['return_val'] = hook(**hook_input['kwargs']) |
|
182 | + File "/Users/takuya/YOLOX/.venv/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 248, in build_wheel |
|
183 | + return _build_backend().build_wheel(wheel_directory, config_settings, |
|
184 | + File "/private/var/folders/90/j35dbhzd2rd0hdmdvqnls8kh0000gn/T/pip-build-env-z1f2srpi/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 221, in build_wheel |
|
185 | + return self._build_with_temp_dir(['bdist_wheel'], '.whl', |
|
186 | + File "/private/var/folders/90/j35dbhzd2rd0hdmdvqnls8kh0000gn/T/pip-build-env-z1f2srpi/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 207, in _build_with_temp_dir |
|
187 | + self.run_setup() |
|
188 | + File "/private/var/folders/90/j35dbhzd2rd0hdmdvqnls8kh0000gn/T/pip-build-env-z1f2srpi/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 258, in run_setup |
|
189 | + super(_BuildMetaLegacyBackend, |
|
190 | + File "/private/var/folders/90/j35dbhzd2rd0hdmdvqnls8kh0000gn/T/pip-build-env-z1f2srpi/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 150, in run_setup |
|
191 | + exec(compile(code, __file__, 'exec'), locals()) |
|
192 | + File "setup.py", line 321, in <module> |
|
193 | + setuptools.setup( |
|
194 | + File "/private/var/folders/90/j35dbhzd2rd0hdmdvqnls8kh0000gn/T/pip-build-env-z1f2srpi/overlay/lib/python3.9/site-packages/setuptools/__init__.py", line 153, in setup |
|
195 | + return distutils.core.setup(**attrs) |
|
196 | + File "/usr/local/Cellar/[email protected]/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/core.py", line 148, in setup |
|
197 | + dist.run_commands() |
|
198 | + File "/usr/local/Cellar/[email protected]/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 966, in run_commands |
|
199 | + self.run_command(cmd) |
|
200 | + File "/usr/local/Cellar/[email protected]/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 985, in run_command |
|
201 | + cmd_obj.run() |
|
202 | + File "/private/var/folders/90/j35dbhzd2rd0hdmdvqnls8kh0000gn/T/pip-build-env-z1f2srpi/overlay/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 299, in run |
|
203 | + self.run_command('build') |
|
204 | + File "/usr/local/Cellar/[email protected]/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/cmd.py", line 313, in run_command |
|
205 | + self.distribution.run_command(command) |
|
206 | + File "/usr/local/Cellar/[email protected]/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 985, in run_command |
|
207 | + cmd_obj.run() |
|
208 | + File "/usr/local/Cellar/[email protected]/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/command/build.py", line 135, in run |
|
209 | + self.run_command(cmd_name) |
|
210 | + File "/usr/local/Cellar/[email protected]/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/cmd.py", line 313, in run_command |
|
211 | + self.distribution.run_command(command) |
|
212 | + File "/usr/local/Cellar/[email protected]/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 985, in run_command |
|
213 | + cmd_obj.run() |
|
214 | + File "setup.py", line 217, in run |
|
215 | + self.run_command('cmake_build') |
|
216 | + File "/usr/local/Cellar/[email protected]/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/cmd.py", line 313, in run_command |
|
217 | + self.distribution.run_command(command) |
|
218 | + File "/usr/local/Cellar/[email protected]/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 985, in run_command |
|
219 | + cmd_obj.run() |
|
220 | + File "setup.py", line 203, in run |
|
221 | + subprocess.check_call(cmake_args) |
|
222 | + File "/usr/local/Cellar/[email protected]/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 373, in check_call |
|
223 | + raise CalledProcessError(retcode, cmd) |
|
224 | + subprocess.CalledProcessError: Command '['/usr/local/bin/cmake', '-DPYTHON_INCLUDE_DIR=/usr/local/Cellar/[email protected]/3.9.7_1/Frameworks/Python.framework/Versions/3.9/include/python3.9', '-DPYTHON_EXECUTABLE=/Users/takuya/YOLOX/.venv/bin/python3.9', '-DBUILD_ONNX_PYTHON=ON', '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON', '-DONNX_NAMESPACE=onnx', '-DPY_EXT_SUFFIX=.cpython-39-darwin.so', '-DCMAKE_BUILD_TYPE=Release', '-DONNX_ML=1', '/private/var/folders/90/j35dbhzd2rd0hdmdvqnls8kh0000gn/T/pip-install-bvj01sqd/onnx_3d4094e84ac448ff97d10ef2e59d4aeb']' returned non-zero exit status 1. |
|
225 | + ---------------------------------------- |
|
226 | + ERROR: Failed building wheel for onnx |
|
227 | +Failed to build onnx |
|
228 | +ERROR: Could not build wheels for onnx, which is required to install pyproject.toml-based projects |
|
229 | +``` |
|
... | ... | \ No newline at end of file |