質問編集履歴
3
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -32,9 +32,9 @@
|
|
32
32
|
Processing /private/var/folders/h_/8vnp2dt96s9c3g0_0k_yrty40000gn/T/tmp0j_fbrp3/setuptools-47.1.0-py3-none-any.whl
|
33
33
|
Processing /private/var/folders/h_/8vnp2dt96s9c3g0_0k_yrty40000gn/T/tmp0j_fbrp3/pip-20.1.1-py2.py3-none-any.whl
|
34
34
|
Installing collected packages: setuptools, pip
|
35
|
-
WARNING: The script easy_install-3.8 is installed in '/Users/
|
35
|
+
WARNING: The script easy_install-3.8 is installed in '/Users/***/.pyenv/versions/3.8.5/bin' which is not on PATH.
|
36
36
|
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
|
37
|
-
WARNING: The scripts pip3 and pip3.8 are installed in '/Users/
|
37
|
+
WARNING: The scripts pip3 and pip3.8 are installed in '/Users/***/.pyenv/versions/3.8.5/bin' which is not on PATH.
|
38
38
|
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
|
39
39
|
Successfully installed pip-20.1.1 setuptools-47.1.0
|
40
40
|
```
|
2
zshrcに追記したため,投稿を編集
test
CHANGED
File without changes
|
test
CHANGED
@@ -50,8 +50,8 @@
|
|
50
50
|
バージョン 11.6.5
|
51
51
|
macbook air (M1, 2020)
|
52
52
|
|
53
|
-
zshrcは以下のようになっています.
|
53
|
+
当初のzshrcは以下のようになっています.
|
54
|
-
```zshrc
|
54
|
+
```zshrc_old
|
55
55
|
eval "$(pyenv init --path)"
|
56
56
|
export PYENV_ROOT="$HOME/.pyenv"
|
57
57
|
export PATH="$PYENV_ROOT/bin:$PATH"
|
@@ -64,5 +64,30 @@
|
|
64
64
|
export PKG_CONFIG_PATH="/usr/local/opt/zlib/lib/pkgconfig"
|
65
65
|
export LDFLAGS="-L/opt/homebrew/opt/readline/lib"
|
66
66
|
export CPPFLAGS="-I/opt/homebrew/opt/readline/include"
|
67
|
-
export PKG_CONFIG_PATH="/opt/homebrew/opt/readline/lib/pkgconfig"
|
67
|
+
export PKG_CONFIG_PATH="/opt/homebrew/opt/readline/lib/pkgconfig"
|
68
|
+
```
|
69
|
+
<追記>修正した後のzshrcは以下になります.同様のエラーが出ています.
|
70
|
+
```zshrc_new
|
71
|
+
eval "$(pyenv init --path)"
|
72
|
+
export PYENV_ROOT="$HOME/.pyenv"
|
73
|
+
export PATH="$PYENV_ROOT/bin:$PATH"
|
74
|
+
export PATH="/opt/homebrew/opt/bzip2/bin:$PATH"
|
75
|
+
export PATH="/usr/local/bin:$PATH"
|
76
|
+
eval "$(pyenv virtualenv-init -)"
|
77
|
+
export PATH="/opt/homebrew/opt/openssl@3/bin:$PATH"
|
78
|
+
export LDFLAGS="-L/opt/homebrew/opt/openssl@3/lib"
|
79
|
+
export CPPFLAGS="-I/opt/homebrew/opt/openssl@3/include"
|
80
|
+
export PKG_CONFIG_PATH="/opt/homebrew/opt/openssl@3/lib/pkgconfig"
|
81
|
+
export PATH="/opt/homebrew/opt/sqlite/bin:$PATH"
|
82
|
+
export LDFLAGS="-L/opt/homebrew/opt/sqlite/lib"
|
83
|
+
export CPPFLAGS="-I/opt/homebrew/opt/sqlite/include"
|
84
|
+
export PKG_CONFIG_PATH="/opt/homebrew/opt/sqlite/lib/pkgconfig"
|
85
|
+
export LDFLAGS="-L/usr/local/opt/zlib/lib"
|
86
|
+
export CPPFLAGS="-I/usr/local/opt/zlib/include"
|
87
|
+
export PKG_CONFIG_PATH="/usr/local/opt/zlib/lib/pkgconfig"
|
88
|
+
export LDFLAGS="-L/opt/homebrew/opt/readline/lib"
|
89
|
+
export CPPFLAGS="-I/opt/homebrew/opt/readline/include"
|
90
|
+
export PKG_CONFIG_PATH="/opt/homebrew/opt/readline/lib/pkgconfig"
|
91
|
+
export CONFIGURE_OPTS="--with-openssl=-I/opt/homebrew/opt/openssl@3"
|
92
|
+
```
|
68
93
|
|
1
試したことでbrew instal ...を実行した後に上記のエラーが出ていることを追記しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -41,7 +41,7 @@
|
|
41
41
|
しかし,pyenv versionsとすると3.7.9は表示されます.
|
42
42
|
|
43
43
|
### 試したこと
|
44
|
-
[GithubのTroubleshooting](https://github.com/pyenv/pyenv/wiki#suggested-build-environment)に従って,Command line tools for Xcodeのある状態でbrew install openssl readline sqlite3 xz zlibを実行し
|
44
|
+
[GithubのTroubleshooting](https://github.com/pyenv/pyenv/wiki#suggested-build-environment)に従って,Command line tools for Xcodeのある状態でbrew install openssl readline sqlite3 xz zlibを実行した後に上記のエラーが出ていいます
|
45
45
|
また,端末はrosettaを使用して開いています.
|
46
46
|
|
47
47
|
|