質問編集履歴

1

最新バージョンのインストールを試みました。

2022/12/04 11:08

投稿

TanaShun
TanaShun

スコア0

test CHANGED
File without changes
test CHANGED
@@ -35,3 +35,33 @@
35
35
  CPUはIntelです。
36
36
 
37
37
  他に必要な情報があれば助言いただけると幸いです。
38
+
39
+ 3.7.3は現在の環境ではビルトできないとのことでしたので、試しに最新の3.11.0をインストールしようとしてみましたが、以下のようなエラーが出ました。
40
+ ```ここに言語を入力
41
+ python-build: use openssl@1.1 from homebrew
42
+ python-build: use readline from homebrew
43
+ Downloading Python-3.11.0.tar.xz...
44
+ -> https://www.python.org/ftp/python/3.11.0/Python-3.11.0.tar.xz
45
+ Installing Python-3.11.0...
46
+ python-build: use tcl-tk from homebrew
47
+ python-build: use readline from homebrew
48
+
49
+ BUILD FAILED (OS X 13.0.1 using python-build 20180424)
50
+
51
+ Inspect or clean up the working tree at /var/folders/gk/_ybny47s6wnfzy968xq19_8r0000gn/T/python-build.20221204195705.28384
52
+ Results logged to /var/folders/gk/_ybny47s6wnfzy968xq19_8r0000gn/T/python-build.20221204195705.28384.log
53
+
54
+ Last 10 log lines:
55
+ checking pkg-config is at least version 0.9.0... yes
56
+ checking for --enable-universalsdk... no
57
+ checking for --with-universal-archs... no
58
+ checking MACHDEP... "darwin"
59
+ checking for gcc... clang
60
+ checking whether the C compiler works... no
61
+ configure: error: in `/var/folders/gk/_ybny47s6wnfzy968xq19_8r0000gn/T/python-build.20221204195705.28384/Python-3.11.0':
62
+ configure: error: C compiler cannot create executables
63
+ See `config.log' for more details
64
+ xcode-select: error: malformed developer path ("/Library/Developer/CommandLineTools")
65
+ ```
66
+
67
+ 内容はところどころ変わっているのように思うのですが対処法はわかりません。