Python错误
300%努力努力再努力
这个作者很懒,什么都没留下…
展开
-
【Python错误】Simplify chained comparison
Simplify chained comparison 简化链式比较错误例子:if 1>0 and 1<2: print("啦啦啦")则报错,只需要简化代码行即可。如下:if 0 < 1 < 2: print("啦啦啦")原创 2020-10-16 22:23:02 · 1810 阅读 · 0 评论 -
【Python错误】Could not find a version that satisfies the requirement sqlite3
文章目录报错代码报错原因报错代码ERROR: Could not find a version that satisfies the requirement sqlite3 (from versions: none)ERROR: No matching distribution found for sqlite3报错原因无需安装 sqlite 是嵌入式数据库,直接使用就行了...原创 2020-07-26 22:19:35 · 4887 阅读 · 0 评论 -
【Python错误】Could not find a version that satisfies the requirement re
文章目录报错代码报错原因报错代码ERROR: Could not find a version that satisfies the requirement re (from versions: none)ERROR: No matching distribution found for re报错原因python3内置 re 模块,因此无需另行安装原创 2020-07-23 12:36:41 · 3842 阅读 · 0 评论 -
【Python错误】Could not find a version that satisfies the requirement urllib
文章目录报错代码:报错原因:报错代码:ERROR: Could not find a version that satisfies the requirement urllib (from versions: none)ERROR: No matching distribution found for urllib报错原因:python3内置 urllib 模块,因此无需另行安装...原创 2020-07-23 12:33:07 · 7729 阅读 · 3 评论 -
【Python错误】Simplify chained comparison
翻译:简化链式比较出现:while i >= j and i < 10 and j < 10:原因:可简化修改:while j <= i < 10 and j < 10:结果:成功解决问题原创 2020-05-25 23:34:50 · 371 阅读 · 0 评论