condaの仮想環境におけるactivateについて
condaの仮想環境が外れてしまう。
condaの仮想環境をデフォルトでactivateにしているのですが、conda listなどのコマンドを打つと仮想環境から抜けてしまい困っています。
homebrew, pyenv, anacondaによって環境構築しています。
発生している問題・エラー
username% python
Python 3.7.3 (default, Mar 27 2019, 16:54:48)
[Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> exit()
username% which python
/HOME/.pyenv/shims/python
username% conda list
(仮想環境にinstallされているパッケージ一覧)
username% python
Python 3.8.3 (default, Jul 2 2020, 11:26:31)
[Clang 10.0.0 ] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
username% which python
/HOME/.pyenv/versions/anaconda3-2020.07/bin/python
参照しているpythonの場所が違うことはわかるのですが、conda listだけでなぜこれが起こるのかわかりません。(conda.cshの問題?)
知見のある方々、よろしくお願いいたします。
0 likes