美文网首页python学习
python学习遇到的坑

python学习遇到的坑

作者: 小阿六Minasix | 来源:发表于2019-10-08 11:11 被阅读0次

1.在pycharm中配置python解释器

file→ setting→ project→ project interpreter→ 下拉三角中选择;若下拉三角内为空,点击设置符号,add或show all → 选择python版本 → 。。。。。。

2.运行pycharm程序,一直提醒配置错误,但实际上有重新导入python.py模块。强制运行代码,提示以下内容:error running ‘main_redis’ @NotNull method com/intellij/execution/configurations/generalCommandLine.getExePath must not return null

​ 解决办法:重新配置python解释器

3.已经安装了PyMySQL,但是还是提示错误

​ 解决办法:重新配置python解释器

相关文章

网友评论

    本文标题:python学习遇到的坑

    本文链接:https://www.haomeiwen.com/subject/ijfbpctx.html