PyCharm提示: cannot find declarati

2018-10-22  本文已影响406人  ___简爱

今天刚安装了pycharm,用Ctrl+鼠标左键,无法跳转,提示cannot find declaration to go to
解决方法:
1、点击File
2、点击Setings,或者Ctrl+Alt+s
3、点击project untitled,打开Project Interpreter
4、打开Project Interpreter下拉键,选中安装的python.exe,如果没有,自行添加python.exe的位置
5、点击apply


image.png

这样一波操作后,就可以跳转方法了,美不。

上一篇 下一篇

猜你喜欢

热点阅读