をインストールした後は動作しません:私はアナコンダをインストールした後、`mkvirtualenv`私は<code>anaconda</code>をインストールする前に、私は通常<code>virtualenvwrapper</code>でプロジェクトを開始アナコンダのPython
>> /usr/local/bin/python3.5
、
mkvirtualenv --python=python3.5 myproject
workon pystagram myproject
どこwhich python3.5
示すが、 、システムベースのPythonはanancondaバージョンに変更されました。だから、which python3.5
ショー、
>> /Users/Chois/anaconda/bin/python3.5
ので、mkvirtualenvはエラーを発生します。
Running virtualenv with interpreter /Users/Chois/anaconda/bin/python3.5
Using base prefix '/Users/Chois/anaconda'
New python executable in /Users/Chois/.virtualenvs/chois_jupyter/bin/python3.5
Also creating executable in /Users/Chois/.virtualenvs/chois_jupyter/bin/python
ERROR: The executable /Users/Chois/.virtualenvs/chois_jupyter/bin/python3.5 is not functioning
ERROR: It thinks sys.prefix is '/Users/Chois/.virtualenvs' (should be '/Users/Chois/.virtualenvs/chois_jupyter')
ERROR: virtualenv is not compatible with this system or executable
私はvirtualenvwrapper
とanaconda
の両方を使用することができます最善の方法は、仮想環境でアナコンダを設置するなどのが、私のように何かをするだと思います不可能であることを知っている。
どうすればよいですか?
(私は通常、仮想環境でのプロジェクトは、ジャンゴと今jupyter
を勉強し始めるん)
anaconda pythonを使用して仮想環境を作成することはできますか? – user3595632
anacondaにはCONTAが付属しています。virtualenvの代わりにそれを使用してください。 – Bg1850
@ Bg1850 djangoプロジェクトをやっているときにそれを使用するのはいいですか? – user3595632