文章分类 -  报错汇总

摘要:缘由: 创建虚拟环境,执行 pip install pipenv,提示拒绝访问。 执行命令&报错如下: 解决方法(来自网友): 1:执行命令 python -m ensurepip 将pip.exe文件下载下来2:再执行pip更新命令:python -m pip install --upgrade 阅读全文
posted @ 2021-04-30 14:52 L的个人博客 阅读(1310) 评论(0) 推荐(0)
摘要:使用 pipenv 创建虚拟环境,执行 pipenv install 时,报:AttributeError: 'NoneType' object has no attribute 'version_sort' 执行命令如下: 1 pipenv install 报错如下: 解决方法: 来自网友方法一: 阅读全文
posted @ 2021-03-12 10:07 L的个人博客 阅读(465) 评论(0) 推荐(0)
摘要:调用shelve模块时,我自己先创建了一个shelve_sample的文件,调试的时候提示:dbm.error: db type could not be determined 原代码如下: 1 f = shelve.open('shelve_sample') 2 f['key'] = {'a': 阅读全文
posted @ 2021-03-03 11:50 L的个人博客 阅读(264) 评论(0) 推荐(0)