質問編集履歴
3
進展
title
CHANGED
File without changes
|
body
CHANGED
@@ -43,4 +43,10 @@
|
|
43
43
|
|
44
44
|
export PATH="/Users/現ユーザー名/anaconda3/bin:$PATH"source ~/anaconda3/etc/profile.d/conda.sh
|
45
45
|
|
46
|
-
```
|
46
|
+
```
|
47
|
+
|
48
|
+
ターミナルにanadondaと入力したところ
|
49
|
+
```ここに言語を入力
|
50
|
+
zsh: /Users/現ユーザ名/anaconda3/bin/anaconda: bad interpreter: /Users/旧ユーザー名/opt/anaconda3/bin/python: no such file or directory
|
51
|
+
```
|
52
|
+
このエラーを手がかりに現在解決策を模索中です
|
2
zshrc_profileの内容
title
CHANGED
File without changes
|
body
CHANGED
@@ -27,4 +27,20 @@
|
|
27
27
|
上記のコードをターミナルに入力したところ
|
28
28
|
```ここに言語を入力
|
29
29
|
/Users/{現ユーザー名}/.zshrc_profile:export:10: not valid in this context: /Users/{現ユーザー名}/anaconda3/etc/profile.d/conda.sh
|
30
|
+
```
|
31
|
+
と出ました。
|
32
|
+
|
33
|
+
### 補足
|
34
|
+
zshrc_protfileの内容です
|
35
|
+
```ここに言語を入力
|
36
|
+
export PATH="$HOME/.rbenv/bin:$PATH"
|
37
|
+
eval "$(rbenv init -)"
|
38
|
+
if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi
|
39
|
+
|
40
|
+
export PYENV_ROOT="$HOME/.pyenv"
|
41
|
+
export PATH="$PYENV_ROOT/bin:$PATH"
|
42
|
+
eval "$(pyenv init -)"
|
43
|
+
|
44
|
+
export PATH="/Users/現ユーザー名/anaconda3/bin:$PATH"source ~/anaconda3/etc/profile.d/conda.sh
|
45
|
+
|
30
46
|
```
|
1
試したことの追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -19,4 +19,12 @@
|
|
19
19
|
pathの旧ユーザー名に該当する箇所を現ユーザー名に変えました。
|
20
20
|
しかし上記のエラーが出てきました。
|
21
21
|
|
22
|
+
また、
|
23
|
+
```ここに言語を入力
|
24
|
+
echo "source ~/anaconda3/etc/profile.d/conda.sh" >> ~/.zshrc_profile
|
25
|
+
```
|
26
|
+
|
22
|
-
|
27
|
+
上記のコードをターミナルに入力したところ
|
28
|
+
```ここに言語を入力
|
29
|
+
/Users/{現ユーザー名}/.zshrc_profile:export:10: not valid in this context: /Users/{現ユーザー名}/anaconda3/etc/profile.d/conda.sh
|
30
|
+
```
|