简体   繁体   English

错误Tensorflow无法找到字段google.protobuf.EnumDescriptorProto.EnumReservedRange.start

[英]Error Tensorflow Couldn't find field google.protobuf.EnumDescriptorProto.EnumReservedRange.start

Hi I'm trying running an tensorflow application in my computer. 嗨,我正在尝试在我的计算机上运行tensorflow应用程序。 I installed the tf , using the pip and follow the steps in the tensorflows documentation. 我使用pip安装了tf并按照tensorflows文档中的步骤进行操作。

I'm using python 3.6.3 in ubuntu 17.10 我在ubuntu 17.10中使用python 3.6.3

KeyError: "Couldn't find field google.protobuf.EnumDescriptorProto.EnumReservedRange.start"

Tks TKS

I get this error when I try to use TensorFlow with Anaconda rather than Python 2.7 on a Mac. 当我尝试在Mac上使用TensorFlow和Anaconda而不是Python 2.7时,我收到此错误。 To see if you are using Anaconda, use the which command: 要查看您是否使用Anaconda,请使用which命令:

which python 哪个python

  • /Users/me/anaconda2/bin/python /用户/我/ anaconda2 /斌/蟒蛇

If this is causing your problem, the solution is to install Tensorflow in a virtual environment: 如果这导致您的问题,解决方案是在虚拟环境中安装Tensorflow:

export PATH=/usr/local/bin:/usr/bin:$PATH which python export PATH = / usr / local / bin:/ usr / bin:$ PATH哪个python

  • /usr/bin/python 在/ usr / bin中/蟒蛇

cd 光盘

virtualenv tf virtualenv tf

source ~/tf/bin/activate source~ / tf / bin / activate

pip install tensorflow pip install tensorflow

To use tensorflow in the future, remember that you must first activate the venv ( source ~/tf/bin/activate .) 要在将来使用tensorflow,请记住必须先激活venv( source~ / tf / bin / activate 。)

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 KeyError:“找不到字段google.protobuf.DescriptorProto.ExtensionRange.options” - KeyError: “Couldn't find field google.protobuf.DescriptorProto.ExtensionRange.options” 尝试使用pandas.read_gbq()函数时,pandas-gbq抛出错误“无法找到字段google.protobuf.FileOptions.php_metadata_namespace” - pandas-gbq throws error “Couldn't find field google.protobuf.FileOptions.php_metadata_namespace” when trying to use pandas.read_gbq() function 找不到 tensorflow 版本 - couldn't find tensorflow version TensorFlow:无法理解下面提到的错误 - TensorFlow: Couldn't understand the error mentioned below 错误:张量流:无法理解架构名称“” - ERROR:tensorflow:Couldn't understand architecture name '' 错误:tensorflow:无法为检查点匹配文件 - ERROR:tensorflow:Couldn't match files for checkpoint 创建了一个站点地图,但谷歌无法获取错误 - Created A Sitemap But Google Couldn't Fetch Error 在 Google Colab 上找不到程序:“pypy”。 解决方案或替代方案? - Couldn't find program: 'pypy' on Google Colab. Solution or alternatives? 如何修复:创建 tensorflow 文本摘要时出现“google.protobuf.message.DecodeError: Error parsing message” - How to Fix: "google.protobuf.message.DecodeError: Error parsing message" when creating tensorflow text summary google.protobuf.message.DecodeError:解析类型为“tensorflow.GraphDef”的消息时出错 - google.protobuf.message.DecodeError: Error parsing message with type 'tensorflow.GraphDef'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM