Pycharm下无法写代码。 原因 安装时安装了Vim 解决办法 输入前先按一下a键,即可正常输入; tools—Vim emulator,将对勾去掉。 参考:https://blog.csdn.net/weixin_30662849/article/details/95260063