我的计算机已经安装了带有anaconda的Python 3.5。
$ python --version
Python 3.5.2 :: Anaconda 4.2.0 (x86_64)
我正在关注Installation instruction。当我想指定targetDirectory时,会出现一些错误。
$ virtualenv --system-site-packages ~/tensorflow
Using base prefix '/Users/UserName/anaconda'
New python executable in /Users/UserName/tensorflow/bin/python
dyld: Library not loaded: @rpath/libpython3.5m.dylib
Referenced from: /Users/UserName/tensorflow/bin/python
Reason: image not found
ERROR: The executable /Users/UserName/tensorflow/bin/python is not functioning
ERROR: It thinks sys.prefix is '/Users/UserName/anaconda/lib/python3.5/site-packages' (should be '/Users/UserName/tensorflow')
ERROR: virtualenv is not compatible with this system or executable
如何解决环境问题?