質問編集履歴
3
別のエラーについて
test
CHANGED
File without changes
|
test
CHANGED
@@ -128,7 +128,7 @@
|
|
128
128
|
|
129
129
|
scikit-buildをインストールして再度インストールしてみたら別のエラーになりました。
|
130
130
|
|
131
|
-
|
131
|
+
長文だったので一部載せておきます。
|
132
132
|
|
133
133
|
見てもらえると嬉しいです。
|
134
134
|
|
2
別のエラー
test
CHANGED
File without changes
|
test
CHANGED
@@ -124,6 +124,126 @@
|
|
124
124
|
|
125
125
|
|
126
126
|
|
127
|
+
*さらに追記
|
128
|
+
|
129
|
+
scikit-buildをインストールして再度インストールしてみたら別のエラーになりました。
|
130
|
+
|
131
|
+
ほとんどコメント文のようでしたが一応載せておきます。
|
132
|
+
|
133
|
+
見てもらえると嬉しいです。
|
134
|
+
|
135
|
+
```ここに言語を入力
|
136
|
+
|
137
|
+
% pip3 install opencv-python
|
138
|
+
|
139
|
+
Collecting opencv-python
|
140
|
+
|
141
|
+
Using cached opencv-python-4.4.0.42.tar.gz (88.9 MB)
|
142
|
+
|
143
|
+
Installing build dependencies ... error
|
144
|
+
|
145
|
+
ERROR: Command errored out with exit status 1:
|
146
|
+
|
147
|
+
command: /home/【ドメイン】/local/python/bin/python3.7 /home/【ドメイン】/local/python/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /var/tmp/pip-build-env-_ojj78bc/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel scikit-build cmake pip 'numpy==1.11.3; python_version=='"'"'3.5'"'"'' 'numpy==1.13.3; python_version=='"'"'3.6'"'"'' 'numpy==1.14.5; python_version=='"'"'3.7'"'"'' 'numpy==1.17.3; python_version>='"'"'3.8'"'"''
|
148
|
+
|
149
|
+
cwd: None
|
150
|
+
|
151
|
+
Building wheel for cmake (setup.py): started
|
152
|
+
|
153
|
+
Building wheel for cmake (setup.py): finished with status 'error'
|
154
|
+
|
155
|
+
ERROR: Command errored out with exit status 1:
|
156
|
+
|
157
|
+
command: /home/【ドメイン】/local/python/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/var/tmp/pip-install-ylk1gk11/cmake/setup.py'"'"'; __file__='"'"'/var/tmp/pip-install-ylk1gk11/cmake/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /var/tmp/pip-wheel-xawe3pgz
|
158
|
+
|
159
|
+
cwd: /var/tmp/pip-install-ylk1gk11/cmake/
|
160
|
+
|
161
|
+
Complete output (325 lines):
|
162
|
+
|
163
|
+
[ 1%] Building C object CMakeFiles/uv_a.dir/src/fs-poll.c.o
|
164
|
+
|
165
|
+
In file included from /tmp/pip-install-ylk1gk11/cmake/_skbuild/freebsd-11.2-RELEASE-p14-amd64-3.7/cmake-build/LibUV-src/src/fs-poll.c:22:
|
166
|
+
|
167
|
+
/tmp/pip-install-ylk1gk11/cmake/_skbuild/freebsd-11.2-RELEASE-p14-amd64-3.7/cmake-build/LibUV-src/include/uv.h:1030:25: error: field has incomplete type 'struct sockaddr_in6'
|
168
|
+
|
169
|
+
struct sockaddr_in6 address6;
|
170
|
+
|
171
|
+
^
|
172
|
+
|
173
|
+
/tmp/pip-install-ylk1gk11/cmake/_skbuild/freebsd-11.2-RELEASE-p14-amd64-3.7/cmake-build/LibUV-src/include/uv.h:1030:12: note: forward declaration of 'struct sockaddr_in6'
|
174
|
+
|
175
|
+
struct sockaddr_in6 address6;
|
176
|
+
|
177
|
+
^
|
178
|
+
|
179
|
+
/tmp/pip-install-ylk1gk11/cmake/_skbuild/freebsd-11.2-RELEASE-p14-amd64-3.7/cmake-build/LibUV-src/include/uv.h:1034:25: error: field has incomplete type 'struct sockaddr_in6'
|
180
|
+
|
181
|
+
struct sockaddr_in6 netmask6;
|
182
|
+
|
183
|
+
^
|
184
|
+
|
185
|
+
/tmp/pip-install-ylk1gk11/cmake/_skbuild/freebsd-11.2-RELEASE-p14-amd64-3.7/cmake-build/LibUV-src/include/uv.h:1030:12: note: forward declaration of 'struct sockaddr_in6'
|
186
|
+
|
187
|
+
struct sockaddr_in6 address6;
|
188
|
+
|
189
|
+
^
|
190
|
+
|
191
|
+
2 errors generated.
|
192
|
+
|
193
|
+
gmake[5]: *** [CMakeFiles/uv_a.dir/build.make:63: CMakeFiles/uv_a.dir/src/fs-poll.c.o] Error 1
|
194
|
+
|
195
|
+
gmake[4]: *** [CMakeFiles/Makefile2:77: CMakeFiles/uv_a.dir/all] Error 2
|
196
|
+
|
197
|
+
gmake[3]: *** [Makefile:141: all] Error 2
|
198
|
+
|
199
|
+
gmake[2]: *** [CMakeFiles/LibUV.dir/build.make:115: LibUV-prefix/src/LibUV-stamp/LibUV-build] Error 2
|
200
|
+
|
201
|
+
gmake[1]: *** [CMakeFiles/Makefile2:112: CMakeFiles/LibUV.dir/all] Error 2
|
202
|
+
|
203
|
+
gmake: *** [Makefile:130: all] Error 2
|
204
|
+
|
205
|
+
Traceback (most recent call last):
|
206
|
+
|
207
|
+
File "/home/【ドメイン】/local/python/lib/python3.7/site-packages/skbuild/setuptools_wrap.py", line 589, in setup
|
208
|
+
|
209
|
+
cmkr.make(make_args, env=env)
|
210
|
+
|
211
|
+
File "/home/【ドメイン】/local/python/lib/python3.7/site-packages/skbuild/cmaker.py", line 507, in make
|
212
|
+
|
213
|
+
os.path.abspath(CMAKE_BUILD_DIR())))
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
An error occurred while building with CMake.
|
218
|
+
|
219
|
+
Command:
|
220
|
+
|
221
|
+
cmake --build . --target install --config Release --
|
222
|
+
|
223
|
+
Source directory:
|
224
|
+
|
225
|
+
/var/tmp/pip-install-ylk1gk11/cmake
|
226
|
+
|
227
|
+
Working directory:
|
228
|
+
|
229
|
+
/var/tmp/pip-install-ylk1gk11/cmake/_skbuild/freebsd-11.2-RELEASE-p14-amd64-3.7/cmake-build
|
230
|
+
|
231
|
+
Please see CMake's output for more information.
|
232
|
+
|
233
|
+
----------------------------------------
|
234
|
+
|
235
|
+
ERROR: Command errored out with exit status 1: /home/【ドメイン】/local/python/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/var/tmp/pip-install-ylk1gk11/cmake/setup.py'"'"'; __file__='"'"'/var/tmp/pip-install-ylk1gk11/cmake/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /var/tmp/pip-record-qo8ikt2i/install-record.txt --single-version-externally-managed --prefix /var/tmp/pip-build-env-_ojj78bc/overlay --compile --install-headers /var/tmp/pip-build-env-_ojj78bc/overlay/include/python3.7m/cmake Check the logs for full command output.
|
236
|
+
|
237
|
+
----------------------------------------
|
238
|
+
|
239
|
+
ERROR: Command errored out with exit status 1: /home/【ドメイン】/local/python/bin/python3.7 /home/【ドメイン】/local/python/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /var/tmp/pip-build-env-_ojj78bc/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel scikit-build cmake pip 'numpy==1.11.3; python_version=='"'"'3.5'"'"'' 'numpy==1.13.3; python_version=='"'"'3.6'"'"'' 'numpy==1.14.5; python_version=='"'"'3.7'"'"'' 'numpy==1.17.3; python_version>='"'"'3.8'"'"'' Check the logs for full command output.
|
240
|
+
|
241
|
+
```
|
242
|
+
|
243
|
+
|
244
|
+
|
245
|
+
|
246
|
+
|
127
247
|
お力を拝借したいです。
|
128
248
|
|
129
249
|
宜しくお願い致します。
|
1
numpyのバージョンを変更した際のエラー(変化なし)
test
CHANGED
File without changes
|
test
CHANGED
@@ -108,6 +108,22 @@
|
|
108
108
|
|
109
109
|
|
110
110
|
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
*追記
|
116
|
+
|
117
|
+
numpyのバージョンを変えたらうまくいくかもしれないという情報をいただけたので
|
118
|
+
|
119
|
+
numpy: 1.19.2, 1.18.2, 1.17.3, 1.14.5
|
120
|
+
|
121
|
+
を試しましたがどれも上記のエラーが出ました。
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
|
111
127
|
お力を拝借したいです。
|
112
128
|
|
113
129
|
宜しくお願い致します。
|