質問編集履歴

4

タグついか

2020/02/06 08:25

投稿

ruuuu
ruuuu

スコア174

test CHANGED
File without changes
test CHANGED
File without changes

3

追記

2020/02/06 08:25

投稿

ruuuu
ruuuu

スコア174

test CHANGED
File without changes
test CHANGED
@@ -87,3 +87,5 @@
87
87
  # <<< conda init <<<
88
88
 
89
89
  ```
90
+
91
+ ※shellはfishを使用しています。

2

追記

2020/02/06 08:21

投稿

ruuuu
ruuuu

スコア174

test CHANGED
File without changes
test CHANGED
@@ -31,3 +31,59 @@
31
31
 
32
32
 
33
33
  ※OSはMac(10.14.6)を使用しています。
34
+
35
+
36
+
37
+ **追記です**
38
+
39
+ 以下は、```.bash_profile```の中身になります。
40
+
41
+ ```
42
+
43
+ export WORKON_HOME=$HOME/.virtualenvs
44
+
45
+ export VIRTUALENVWRAPPER_PYTHON=/Users/ユーザー名/.pyenv/shims/python3
46
+
47
+ export PROJECT_HOME=$HOME/Devel
48
+
49
+ export PATH="$HOME/.pyenv/shims:$PATH"
50
+
51
+ export PATH="$HOME/.composer/vendor/bin:$PATH"
52
+
53
+ source $PYENV_ROOT/versions/3.7.3/bin/virtualenvwrapper.sh
54
+
55
+ export PATH="$HOME/.nodebrew/current/bin:$PATH"
56
+
57
+ # added by Anaconda3 2019.10 installer
58
+
59
+ # >>> conda init >>>
60
+
61
+ # !! Contents within this block are managed by 'conda init' !!
62
+
63
+ __conda_setup="$(CONDA_REPORT_ERRORS=false '/Users/ユーザー名/opt/anaconda3/bin/conda' shell.bash hook 2> /dev/null)"
64
+
65
+ if [ $? -eq 0 ]; then
66
+
67
+ \eval "$__conda_setup"
68
+
69
+ else
70
+
71
+ if [ -f "/Users/ユーザー名/opt/anaconda3/etc/profile.d/conda.sh" ]; then
72
+
73
+ . "/Users/ユーザー名/opt/anaconda3/etc/profile.d/conda.sh"
74
+
75
+ CONDA_CHANGEPS1=false conda activate base
76
+
77
+ else
78
+
79
+ \export PATH="/Users/ユーザー名/opt/anaconda3/bin:$PATH"
80
+
81
+ fi
82
+
83
+ fi
84
+
85
+ unset __conda_setup
86
+
87
+ # <<< conda init <<<
88
+
89
+ ```

1

修正

2020/02/06 07:28

投稿

ruuuu
ruuuu

スコア174

test CHANGED
File without changes
test CHANGED
@@ -1,6 +1,6 @@
1
1
  ``source ~/.bash_profile ``コマンドを実行するとエラーになってしまいます。
2
2
 
3
- 毎回、「python -V」の結果、「python2」が入っていた場合、```source ~/.bash_profile```を実行しますと、python3に変更になる為、今まで通り実行したのですが、エラーとなってしまいました。
3
+ 毎回、「python -V」の結果、「python2」が入っていた場合、```source ~/.bash_profile```を実行しますと、python3に変更になる為、今まで通り実行したのですが、突如エラーとなってしまいました。
4
4
 
5
5
  エラー内容は下記になります。
6
6