Python OS X 10.8.5上的Tensorflow导入错误
我正在尝试在我的mac中安装tensorflow。我有蟒蛇。我使用Python OS X 10.8.5上的Tensorflow导入错误,python,macos,tensorflow,deep-learning,Python,Macos,Tensorflow,Deep Learning,我正在尝试在我的mac中安装tensorflow。我有蟒蛇。我使用 pip install -i https://pypi.anaconda.org/jjhelmus/simple tensorflow 我还尝试了tensorflow安装指南中给出的所有选项 当我尝试导入时,出现以下错误: ImportError: dlopen(/Users/SummerREU/anaconda/lib/python2.7/site-packages/tensorflow/python/_pywrap_te
pip install -i https://pypi.anaconda.org/jjhelmus/simple tensorflow
我还尝试了tensorflow安装指南中给出的所有选项
当我尝试导入时,出现以下错误:
ImportError: dlopen(/Users/SummerREU/anaconda/lib/python2.7/site-packages/tensorflow/python/_pywrap_tensorflow.so, 2): Symbol not found: ___sincos_stret
Referenced from: /Users/SummerREU/anaconda/lib/python2.7/site-packages/tensorflow/python/_pywrap_tensorflow.so
Expected in: /usr/lib/libSystem.B.dylib
in /Users/SummerREU/anaconda/lib/python2.7/site-packages/tensorflow/python/_pywrap_tensorflow.so
这个问题在我升级到OSX10.11后得到了解决。即使您尝试从源代码构建,OS X 10.8.5 do也无法与tesorflow兼容。它只能在OSX10.8中运行
要使用docker进行安装,请遵循链接。问题在于OS X的python默认版本,您需要使用brew安装python,或者只需下载python并更改path变量