sydomain

思绪来的快,去的也快,偶尔在这里停留。

关于win7系统下python3.6版本的报错处理

  1.  AttributeError: module ‘os‘ has no attribute ‘PathLike‘

这个问题是安装高版本的库导致部分脚本无法运行

解决办法:/lib/python3.6/site-packages目录下删除安装的certifi文件夹,降低你需要安装的库的版本

格式如下:pip install certifi==2020.6.20



Powered By sydomain

Copyright Your WebSite.Some Rights Reserved.