質問編集履歴
1
質問の内容を切り分け
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
pyenvでpython3.6.5がインストールできない
|
test
CHANGED
@@ -1,64 +1,66 @@
|
|
1
1
|
当方 macOS BigSur11.4です。
|
2
2
|
|
3
|
-
pyenvでpython3.6.5をインストールしたいんですが、
|
3
|
+
pyenvでpython3.6.5をインストールしたいんですが、エラーで引っかかって困っています。
|
4
4
|
|
5
5
|
**エラー内容**
|
6
6
|
|
7
7
|
```ターミナル
|
8
8
|
|
9
|
-
%
|
9
|
+
% pyenv install 3.6.5
|
10
10
|
|
11
|
-
|
11
|
+
Downloading openssl-1.0.2k.tar.gz...
|
12
12
|
|
13
|
-
|
13
|
+
-> https://pyenv.github.io/pythons/6b3977c61f2aedf0f96367dcfb5c6e578cf37e7b8d913b4ecb6643c3cb88d8c0
|
14
14
|
|
15
|
+
Installing openssl-1.0.2k...
|
16
|
+
|
15
|
-
|
17
|
+
Installed openssl-1.0.2k to /Users/[myname]/.pyenv/versions/3.6.5
|
16
18
|
|
17
19
|
|
18
20
|
|
19
|
-
|
21
|
+
python-build: use readline from homebrew
|
20
22
|
|
21
|
-
|
23
|
+
Downloading Python-3.6.5.tar.xz...
|
22
24
|
|
23
|
-
soft
|
25
|
+
-> https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tar.xz
|
24
26
|
|
25
|
-
|
27
|
+
Installing Python-3.6.5...
|
28
|
+
|
29
|
+
python-build: use readline from homebrew
|
26
30
|
|
27
31
|
|
28
32
|
|
29
|
-
|
33
|
+
BUILD FAILED (OS X 11.4 using python-build 20160602)
|
30
34
|
|
31
|
-
Homebrew if the config script overrides a system or Homebrew-provided
|
32
35
|
|
33
|
-
script of the same name. We found the following "config" scripts:
|
34
36
|
|
35
|
-
|
37
|
+
Inspect or clean up the working tree at /var/folders/79/gtnkfs4x56lb9tft4gtmwsqm0000gn/T/python-build.20210626201203.8628
|
36
38
|
|
37
|
-
/
|
39
|
+
Results logged to /var/folders/79/gtnkfs4x56lb9tft4gtmwsqm0000gn/T/python-build.20210626201203.8628.log
|
38
40
|
|
39
|
-
/Users/[myname]/.pyenv/shims/python2.7-config
|
40
41
|
|
41
|
-
/Users/[myname]/.pyenv/shims/python3.5-config
|
42
42
|
|
43
|
-
|
43
|
+
Last 10 log lines:
|
44
44
|
|
45
|
-
|
45
|
+
./Modules/posixmodule.c:8210:15: error: implicit declaration of function 'sendfile' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
|
46
46
|
|
47
|
-
|
47
|
+
ret = sendfile(in, out, offset, &sbytes, &sf, flags);
|
48
48
|
|
49
|
-
|
49
|
+
^
|
50
50
|
|
51
|
-
|
51
|
+
./Modules/posixmodule.c:10432:5: warning: code will never be executed [-Wunreachable-code]
|
52
52
|
|
53
|
-
|
53
|
+
Py_FatalError("abort() called from Python code didn't abort!");
|
54
54
|
|
55
|
-
|
55
|
+
^~~~~~~~~~~~~
|
56
56
|
|
57
|
-
|
57
|
+
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -I. -I./Include -I/usr/local/opt/readline/include -I/usr/local/opt/readline/include -I/Users/[myname]/.pyenv/versions/3.6.5/openssl/include -I/Users/[myname]/.pyenv/versions/3.6.5/include -I/usr/local/opt/readline/include -I/usr/local/opt/readline/include -I/Users/[myname]/.pyenv/versions/3.6.5/openssl/include -I/Users/[myname]/.pyenv/versions/3.6.5/include -DPy_BUILD_CORE -c ./Modules/pwdmodule.c -o Modules/pwdmodule.o
|
58
58
|
|
59
|
-
|
59
|
+
1 warning and 1 error generated.
|
60
60
|
|
61
|
-
|
61
|
+
make: *** [Modules/posixmodule.o] Error 1
|
62
|
+
|
63
|
+
make: *** Waiting for unfinished jobs....```
|
62
64
|
|
63
65
|
```
|
64
66
|
|