0
私はvirtualenvがインストールされており、さらに2つのバージョンのpythonがインストールされています。 1つは自家製で、もう1つはアナコンダにある。しかし、virtualenvはどちらかで動作しません。私はこれが乱雑なpythonのバージョンによると言っていくつかの記事を発見した。しかし、私は別のpythonを指しても、それはまだ動作しません。これにはどんな解決策がありますか?ありがとうanacondaでvirtualenvが動作しない
jzhangMBPr:~ jzhang$ virtualenv -p /Users/jzhang/anaconda/bin/python a
Already using interpreter /Users/jzhang/anaconda/bin/python
Using base prefix '/Users/jzhang/anaconda'
New python executable in /Users/jzhang/a/bin/python
ERROR: The executable /Users/jzhang/a/bin/python is not functioning
ERROR: It thinks sys.prefix is '/Users/jzhang' (should be '/Users/jzhang/a')
ERROR: virtualenv is not compatible with this system or executable
jzhangMBPr:~ jzhang$ virtualenv a
Using base prefix '/Users/jzhang/anaconda'
New python executable in /Users/jzhang/a/bin/python
ERROR: The executable /Users/jzhang/a/bin/python is not functioning
ERROR: It thinks sys.prefix is '/Users/jzhang' (should be '/Users/jzhang/a')
ERROR: virtualenv is not compatible with this system or executable