Macos Tensorflow安装问题
我的计算机已经安装了带有的Python 3.5Macos Tensorflow安装问题,macos,tensorflow,Macos,Tensorflow,我的计算机已经安装了带有的Python 3.5 $python--版本 Python 3.5.2::Anaconda 4.2.0(x86_64) 我在跟踪调查。当我想指定我的targetDirectory时,会出现一些错误 $virtualenv——系统站点包~/tensorflow Using base prefix '/Users/UserName/anaconda' New python executable in /Users/UserName/tensorflow/bin/python
$python--版本
Python 3.5.2::Anaconda 4.2.0(x86_64)
我在跟踪调查。当我想指定我的targetDirectory时,会出现一些错误
$virtualenv——系统站点包~/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
如何解决环境问题 按照中的建议,可能重复尝试使用
conda
而不是pip
安装virtualenv
。按照中的建议,可能重复尝试使用conda
而不是pip
安装virtualenv
。