質問編集履歴

1

質問の内容を切り分け

2021/06/26 11:25

投稿

unisara
unisara

スコア8

test CHANGED
@@ -1 +1 @@
1
- brewdoctorエラーが解消しない
1
+ pyenvでpython3.6.5がインストールない
test CHANGED
@@ -1,64 +1,66 @@
1
1
  当方 macOS BigSur11.4です。
2
2
 
3
- pyenvでpython3.6.5をインストールしたいんですが、homebrewのエラーで引っかかって困っています。
3
+ pyenvでpython3.6.5をインストールしたいんですが、エラーで引っかかって困っています。
4
4
 
5
5
  **エラー内容**
6
6
 
7
7
  ```ターミナル
8
8
 
9
- % brew doctor
9
+ % pyenv install 3.6.5
10
10
 
11
- Please note that these warnings are just used to help the Homebrew maintainers
11
+ Downloading openssl-1.0.2k.tar.gz...
12
12
 
13
- with debugging if you file an issue. If everything you use Homebrew for is
13
+ -> https://pyenv.github.io/pythons/6b3977c61f2aedf0f96367dcfb5c6e578cf37e7b8d913b4ecb6643c3cb88d8c0
14
14
 
15
+ Installing openssl-1.0.2k...
16
+
15
- working fine: please don't worry or file an issue; just ignore this. Thanks!
17
+ Installed openssl-1.0.2k to /Users/[myname]/.pyenv/versions/3.6.5
16
18
 
17
19
 
18
20
 
19
- Warning: "config" scripts exist outside your system or Homebrew directories.
21
+ python-build: use readline from homebrew
20
22
 
21
- `./configure` scripts often look for *-config scripts to determine if
23
+ Downloading Python-3.6.5.tar.xz...
22
24
 
23
- software packages are installed, and which additional flags to use when
25
+ -> https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tar.xz
24
26
 
25
- compiling and linking.
27
+ Installing Python-3.6.5...
28
+
29
+ python-build: use readline from homebrew
26
30
 
27
31
 
28
32
 
29
- Having additional scripts in your path can confuse software installed via
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
- /Users/[myname]/.pyenv/shims/python3.5m-config
37
+ Inspect or clean up the working tree at /var/folders/79/gtnkfs4x56lb9tft4gtmwsqm0000gn/T/python-build.20210626201203.8628
36
38
 
37
- /Users/[myname]/.pyenv/shims/python2-config
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
- /Users/[myname]/.pyenv/shims/python-config
43
+ Last 10 log lines:
44
44
 
45
- /Users/[myname]/.pyenv/shims/python3-config
45
+ ./Modules/posixmodule.c:8210:15: error: implicit declaration of function 'sendfile' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
46
46
 
47
- /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7-config
47
+ ret = sendfile(in, out, offset, &sbytes, &sf, flags);
48
48
 
49
- /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7m-config
49
+ ^
50
50
 
51
- /Library/Frameworks/Python.framework/Versions/3.7/bin/python3-config
51
+ ./Modules/posixmodule.c:10432:5: warning: code will never be executed [-Wunreachable-code]
52
52
 
53
- /Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6m-config
53
+ Py_FatalError("abort() called from Python code didn't abort!");
54
54
 
55
- /Library/Frameworks/Python.framework/Versions/3.6/bin/python3-config
55
+ ^~~~~~~~~~~~~
56
56
 
57
- /Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6-config
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
- /Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9-config
59
+ 1 warning and 1 error generated.
60
60
 
61
- /Library/Frameworks/Python.framework/Versions/3.9/bin/python3-config```
61
+ make: *** [Modules/posixmodule.o] Error 1
62
+
63
+ make: *** Waiting for unfinished jobs....```
62
64
 
63
65
  ```
64
66