0
從Ubuntu 17.04升級到17.10後,我無法使用Spyder 3.1.4,因爲我無法對Spyder本身進行基本配置。Spyder 3.1.4 - 操作系統升級後無法配置Spyder
我無法配置(即菜單Run | Configure
或Ctrl-F6)我得到的內部控制檯
>>> Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/spyder/plugins/editor.py", line 2300, in edit_run_configurations dialog.setup(fname) File "/usr/lib/python2.7/dist-packages/spyder/plugins/runconfig.py", line 426, in setup widget.set(options) File "/usr/lib/python2.7/dist-packages/spyder/plugins/runconfig.py", line 260, in set self.wd_cb.setChecked(self.runconf.wdir_enabled) TypeError: setChecked(self, bool): argument 1 has unexpected type 'NoneType'
以下錯誤我的Spyder 3.1.4與Python 2.7.14 64位運行,Qt的5.91,PyAt5 5.7在Linux上。
我想我可以開始卸載並重新安裝與PIP,但我希望有人知道這個問題是什麼,也許有一個更簡單的解決方案。
請在'spyder --reset'終端中運行並重試。這應該能解決你的問題。 –
是的'spyder --reset'解決了我的問題@CarlosCordoba謝謝!如果您希望發佈回覆,我會很樂意將其標記爲最佳解決方案,以便您獲得適當的信用。 –