pyCharm no module named xxxxx

pyCharm 中 len()、range()、os等都报错。原因是p’yCharm中的python版本没有配置正确。
我一开始安装的python3.7,后来又卸载了。安装了python3.6,结果就报错了。

解决:Default Settings 和 Settings
这里写图片描述

这里写图片描述

猜你喜欢

转载自blog.csdn.net/la6nf/article/details/79369010
今日推荐