AttributeError: 'sys.flags' object has no attribute 'utf8_mode'

AttributeError: 'sys.flags' object has no attribute 'utf8_mode'

pycharm工程的py版本是3.6,结果即使使用py3.7编译后的pyc是3.6。

解决方法是删除工程.idea文件夹,重新生成工程。

posted @ 2019-08-24 09:55  Eash、  阅读(3985)  评论(0编辑  收藏  举报