不知道从什么时候起Spyder启动的时候总是弹出:编辑器的代码补全和检查将在当前会话期间的无法为python工作,或停止工作。让重启Spyder,但我进行重启后还是不行。之前偶尔重启后还是可以用的,最近一段时间安装了一点东西发现怎么也不能进行代码提示了,特别是不能使用ctrl+点击不能追踪代码,不能忍受啊!本文地址:http://www.04007.cn/article/989.html,未经许可,不得转载.
于是对spyder,应该是Anaconda3进行了重装,之前安装的版本是Anaconda3-2020.07-Windows-x86_64.exe,这次找了个最新的Anaconda3-2020.11-Windows-x86_64.exe。安装完成之后发现依然不能进行代码追踪,尝试了很多方法。
在stackoverflow上看到一篇此问题的解决方法:Kernel Restart (Ctrl+.) in spyder not working。It turns out that ctrl+click shortcut does not work only for a specific package that I imported of which the path was added in the scripts manually, so spyder cannot find the package path without running it, so just add the path to PYTHONPATH manager in the spyder IDE, then the problem resolved. 即通过工具->pythonpath配置添加路径解决了此问题,但我尝试了多次也没有成功。所以我准备放弃这个Spyder了。本文地址:http://www.04007.cn/article/989.html,未经许可,不得转载.
准备使用PyCharm,GO,下载安装。然后还是中文方便,试试官方汉化版吧,操作很简单,可以直接在流程:File>settings>plugins>搜索chinese(无需汉化包)安装即可,如果不能连网安装就下载安装包至电脑本地安装。下载好后可以直接拖进pycharm界面,瞬间安装成功重启即可。
汉化下载地址: https://plugins.jetbrains.com/plugin/13710-chinese-simplified-language-pack-eap/versions本文地址:http://www.04007.cn/article/989.html,未经许可,不得转载.
本文地址:http://www.04007.cn/article/989.html 未经许可,不得转载. 手机访问本页请扫描右下方二维码.
![]() |
![]() |
手机扫码直接打开本页面 |