【TypeError: Descriptors cannot not be created directly. 】解决方法
报错信息:
TypeError: Descriptors cannot not be created directly. If this call came from a _pb2.pyfile, your generated code is out of date and must be regenerated with protoc >= 3.19.0. If you cannot immediately regenerate your protos, some other possible workarounds are: 1. Downgrade the protobuf package to 3.20.x or lower. 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
解决方法:
pip install protobuf==3.19.0
【TypeError: Descriptors cannot not be created directly. 】解决方法相关推荐
- 问题:TypeError: Descriptors cannot not be created directly.解决方法
运行代码时提示如下报错: 解决上面问题,直接在控制台中输入下面命令重新安装protobuf即可,如下: pip install 'protobuf~=3.19.0' 以上就是解决TypeError: ...
- TypeError: Descriptors cannot not be created directly解决
文章目录 问题 解决 问题 跑代码的时候遇到了这个问题: TypeError: Descriptors cannot not be created directly. If this call cam ...
- 已解决TypeError: Descriptors cannot not be created directly.
已解决TypeError: Descriptors cannot not be created directly. If this call came from a _pb2.py file, you ...
- 解决TypeError: Descriptors cannot not be created directly报错!
完整报错如下: TypeError: Descriptors cannot not be created directly. If this call came from a _pb2.py file ...
- python TypeError: Descriptors cannot not be created directly错误解决
运行python脚本时出现错误 TypeError: Descriptors cannot not be created directly. If this call came from a _pb2 ...
- 解决:TypeError: Descriptors cannot not be created directly
我使用pip命令下载安装paddlepaddle库,具体命令如下所示,采用清华镜像源,这样下载速度更快! pip install -i https://pypi.tuna.tsinghua.edu.c ...
- TypeError: Descriptors cannot not be created directly.
python 依赖 protobuf 奇怪报错 TypeError: Descriptors cannot not be created directly. 在使用 paddlex 时引入一些调用了 ...
- TensorFlow2.8.0报错TypeError: Descriptors cannot not be created directly.
@创建于:2022.09.28 @修改于:2022.09.28 1.错误信息 Traceback (most recent call last):File "D:\PycharmProjec ...
- import keras时遇到的错误 TypeError: Descriptors cannot not be created directly. If this call came from a _
问题描述 版本对应 keras 与 tensorflow 版本对应关系:https://master–floydhub-docs.netlify.app/guides/environments/ 本文 ...
最新文章
- 在列表前方插入一个数据_Python基础知识详解(三):数据结构篇
- 关于当前所用的MVP架构的所思所想
- 修改Linux内核的printk缓冲区(log缓冲区)大小
- 自增符号++(自减符号--)带来的部分影响
- C++中函数的默认参数
- 一篇带你了解函数指针
- python gevent教程_Python的gevent框架的入门教程
- VMware10出现VMware Workstation 不可恢复错误: (vmx)
- Web Service security UserNameToken 使用
- html里meta标签,HTML中的meta标签详解
- eclipse注释模板
- Ubuntu16.04安装最新版nodejs
- FL Studio剪辑菜单的使用方法
- word---自定义编号样式
- [LOCAL] 画画图(结论 + DP + 常数分析) | 错题本
- du命令参数-h/-s
- 如何理解工程测量中的各种误差
- Python 获取优惠券淘宝口令
- u8系统清理异常咋进服务器,用友u8怎么清除异常
- ubuntu磁盘分区方案
热门文章
- 从雨天塞车说DevOps,兼修订三步生活法
- 游戏编程模式 - 命令模式
- 读查理·芒格---《穷查理宝典》
- 简述 Spring Bean的生命周期
- 上面两点下面一个三角形_K线图中走出三角形收敛形态必有大波动?一招判断后期走势方向...
- @ConfigurationProperties(prefix = “xx.xx.xx“)
- html怎么在文字中加小方框,css之列表数据前加上小方框
- MQL5:zig-zag 指标
- python图书搜索与书籍封面下载
- 扇贝python编程课 百度云,扇贝编程python课程分享