
python程序bug
公众号菜鸟童靴
在不退步的同时,保持的一点点的进步,欢迎关注个人博客https://boyyongxin.github.io/
微信公众号:菜鸟童靴
展开
-
AttributeError: module ‘google.protobuf.descriptor‘ has no attribute ‘_internal_create_key‘
使用protobuf报错如下:AttributeError: module 'google.protobuf.descriptor' has no attribute '_internal_create_key'AttributeError: module 'google.protobuf.descriptor' has no attribute '_internal_create_key'解决方案:1. 查看protoc的版本,在命令行输入如下代码:protoc --vers.原创 2020-11-28 16:05:08 · 3426 阅读 · 3 评论 -
jadx 意外退出 可能原因
最近使用jadx来反编译app,但是总是弹出下图的错误,我的是mac环境解决方法:最后找到是说jdk版本问题,我出问题的版本是jdk1.8最新的250版本,后来改成jdk1.8 211版本就很稳定了, jadx的版本是此时最新的1.1...原创 2020-11-26 12:54:33 · 1117 阅读 · 0 评论 -
解决Chrome插件安装时出现的“程序包无效”问题
错误信息:程序包无效。详细信息:“Cannot load extension with file or directory name . Filenames starting with "" are reserved for use by the system.”。1、找到Chrome安装程序路径,找到对应的插件image.png2、把crx后缀名改为rar,解压缩得到文件...转载 2019-11-29 11:57:23 · 349 阅读 · 0 评论 -
git 错误error: failed to push some refs to
想在git上push代码 于是在git上建立了一个私有的长裤, 连接后push代码时提示如下错误:error: failed to push some refs to 'git@github.com:....." Updates were rejected because the remote contains work that you do not have locally.This ...原创 2019-11-29 16:24:16 · 419 阅读 · 0 评论 -
python路径错误,运行.py文件,找不到路径问题
import osimport syscurPath = os.path.abspath(os.path.dirname(__file__))rootpath=str(curPath)syspath=sys.pathdepth = rootpath.count("\\") - 1sys.path=[]sys.path.append(rootpath)#将工程根目录加入到python搜...原创 2019-04-12 18:05:11 · 8398 阅读 · 0 评论