質問するログイン新規登録

質問編集履歴

3

別のエラーについて

2020/08/22 17:39

投稿

found
found

スコア2

title CHANGED
File without changes
body CHANGED
@@ -63,7 +63,7 @@
63
63
 
64
64
  *さらに追記
65
65
  scikit-buildをインストールして再度インストールしてみたら別のエラーになりました。
66
- ほとんどコメント文のようしたが載せておきます。
66
+ だったので一載せておきます。
67
67
  見てもらえると嬉しいです。
68
68
  ```ここに言語を入力
69
69
  % pip3 install opencv-python

2

別のエラー

2020/08/22 17:39

投稿

found
found

スコア2

title CHANGED
File without changes
body CHANGED
@@ -61,6 +61,66 @@
61
61
  を試しましたがどれも上記のエラーが出ました。
62
62
 
63
63
 
64
+ *さらに追記
65
+ scikit-buildをインストールして再度インストールしてみたら別のエラーになりました。
66
+ ほとんどコメント文のようでしたが一応載せておきます。
67
+ 見てもらえると嬉しいです。
68
+ ```ここに言語を入力
69
+ % pip3 install opencv-python
70
+ Collecting opencv-python
71
+ Using cached opencv-python-4.4.0.42.tar.gz (88.9 MB)
72
+ Installing build dependencies ... error
73
+ ERROR: Command errored out with exit status 1:
74
+ 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'"'"''
75
+ cwd: None
76
+ Building wheel for cmake (setup.py): started
77
+ Building wheel for cmake (setup.py): finished with status 'error'
78
+ ERROR: Command errored out with exit status 1:
79
+ 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
80
+ cwd: /var/tmp/pip-install-ylk1gk11/cmake/
81
+ Complete output (325 lines):
82
+ [ 1%] Building C object CMakeFiles/uv_a.dir/src/fs-poll.c.o
83
+ 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:
84
+ /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'
85
+ struct sockaddr_in6 address6;
86
+ ^
87
+ /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'
88
+ struct sockaddr_in6 address6;
89
+ ^
90
+ /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'
91
+ struct sockaddr_in6 netmask6;
92
+ ^
93
+ /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'
94
+ struct sockaddr_in6 address6;
95
+ ^
96
+ 2 errors generated.
97
+ gmake[5]: *** [CMakeFiles/uv_a.dir/build.make:63: CMakeFiles/uv_a.dir/src/fs-poll.c.o] Error 1
98
+ gmake[4]: *** [CMakeFiles/Makefile2:77: CMakeFiles/uv_a.dir/all] Error 2
99
+ gmake[3]: *** [Makefile:141: all] Error 2
100
+ gmake[2]: *** [CMakeFiles/LibUV.dir/build.make:115: LibUV-prefix/src/LibUV-stamp/LibUV-build] Error 2
101
+ gmake[1]: *** [CMakeFiles/Makefile2:112: CMakeFiles/LibUV.dir/all] Error 2
102
+ gmake: *** [Makefile:130: all] Error 2
103
+ Traceback (most recent call last):
104
+ File "/home/【ドメイン】/local/python/lib/python3.7/site-packages/skbuild/setuptools_wrap.py", line 589, in setup
105
+ cmkr.make(make_args, env=env)
106
+ File "/home/【ドメイン】/local/python/lib/python3.7/site-packages/skbuild/cmaker.py", line 507, in make
107
+ os.path.abspath(CMAKE_BUILD_DIR())))
108
+
109
+ An error occurred while building with CMake.
110
+ Command:
111
+ cmake --build . --target install --config Release --
112
+ Source directory:
113
+ /var/tmp/pip-install-ylk1gk11/cmake
114
+ Working directory:
115
+ /var/tmp/pip-install-ylk1gk11/cmake/_skbuild/freebsd-11.2-RELEASE-p14-amd64-3.7/cmake-build
116
+ Please see CMake's output for more information.
117
+ ----------------------------------------
118
+ 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.
119
+ ----------------------------------------
120
+ 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.
121
+ ```
122
+
123
+
64
124
  お力を拝借したいです。
65
125
  宜しくお願い致します。
66
126
 

1

numpyのバージョンを変更した際のエラー(変化なし)

2020/08/22 17:37

投稿

found
found

スコア2

title CHANGED
File without changes
body CHANGED
@@ -53,6 +53,14 @@
53
53
 
54
54
  エラー文にある"skbuild"というものもインストールしてみましたが、相変わらずOpenCVはインストールできなかったので消しました。
55
55
 
56
+
57
+
58
+ *追記
59
+ numpyのバージョンを変えたらうまくいくかもしれないという情報をいただけたので
60
+ numpy: 1.19.2, 1.18.2, 1.17.3, 1.14.5
61
+ を試しましたがどれも上記のエラーが出ました。
62
+
63
+
56
64
  お力を拝借したいです。
57
65
  宜しくお願い致します。
58
66