Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/tensorflow/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Macos Tensorflow安装问题_Macos_Tensorflow - Fatal编程技术网

Macos Tensorflow安装问题

Macos 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 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
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