tensorflow安装正确, import tf, the problem is "Couldn't find field google.protob.ExtensionRange.options"
来源:互联网 发布:金棕榈 软件 编辑:程序博客网 时间:2024/05/21 18:14
问题描述
import tensorflow error with correct installation, the problem is “Couldn’t find field google.protobuf.DescriptorProto.ExtensionRange.options”
pythonimport tensorflow
出现如下问题:
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcublas.so.8.0 locallyI tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcudnn.so.5 locallyI tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcufft.so.8.0 locallyI tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcuda.so.1 locallyI tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcurand.so.8.0 locallyTraceback (most recent call last):File "", line 1, inFile "/home/bids/.local/lib/python2.7/site-packages/tensorflow/init.py", line 24, infrom tensorflow.python import *File "/home/bids/.local/lib/python2.7/site-packages/tensorflow/python/init.py", line 75, infrom tensorflow.core.framework.graph_pb2 import *File "/home/bids/.local/lib/python2.7/site-packages/tensorflow/core/framework/graph_pb2.py", line 10, infrom google.protobuf import descriptor_pb2File "/usr/local/lib/python2.7/dist-packages/google/protobuf/descriptor_pb2.py", line 409, inoptions=None),File "/usr/local/lib/python2.7/dist-packages/google/protobuf/descriptor.py", line 501, in newreturn _message.default_pool.FindFieldByName(full_name)KeyError: "Couldn't find field google.protobuf.DescriptorProto.ExtensionRange.options"
解决方法
sudo pip install tensorflow-gpu==1.2.1 --upgrade --force-reinstall
参考文献
import tensorflow error with correct installation, the problem is “Couldn’t find field google.protobuf.DescriptorProto.ExtensionRange.options”
阅读全文
0 0
- tensorflow安装正确, import tf, the problem is "Couldn't find field google.protob.ExtensionRange.options"
- TensorFlow KeyError: "Couldn't find field google.protobuf.DescriptorProto.ExtensionRange.options"
- return _message.default_pool.FindFieldByName(full_name) KeyError: "Couldn't find field google.pr
- AIDL couldn't find import for class
- AIDL 编译报couldn't find import for class 解决方法
- aidl文件中出现couldn't find import for class
- couldn't find import for class android.net.ethernet.EthernetDevInfo
- Android aidl 编译报couldn't find import for class
- Android aidl 编译报couldn't find import for class
- android studio aidl couldn't find import for class
- Android aidl 编译错误:couldn't find import for class
- aidl文件import 报错; couldn't find import for class
- buildnative.py Couldn't find the gcc toolchain.
- buildnative.py Couldn't find the gcc toolchain.
- 安装vc6出现couldn't find acme setup的解决办法
- VC安装提示 couldn't find Acme setup
- 编译源码出现的问题couldn't find import for class
- AIDL 编译报couldn't find import for class原因探究
- ROS Robotics Projects(5)深度学习
- Python 中空字符串用于条件表达式的方法
- 虚拟币开发专题(大家经常说的山寨币钱包到底是什么)
- c# 通用类型系统 及变量在 深拷贝 浅拷贝 函数传参 中的深层次的表现
- 事件和事件处理
- tensorflow安装正确, import tf, the problem is "Couldn't find field google.protob.ExtensionRange.options"
- C#中线程占用内存过大解决方法
- python反转字符串的几种方式
- C# 线程手册 第六章 线程调试与跟踪
- OI数学Note(基础篇)
- 【Linux】--系统vsftpd服务器安装配置(整理一)
- 8.16 恶魔城 1128
- 使用微信公众号链接进入discuz试提示"您访问的页面无手机页面" 二
- 那些复杂的列表总要弄个清楚——(三)激动人心的BaseAdapter之一