在为Python安装thonny ide时,我面临以下问题。
Traceback (most recent call last):
File "/home/shrivatsa/.local/lib/python3.5/site-packages/thonny/workbench.py", line 287, in _init_runner runner.start()
File "/home/shrivatsa/.local/lib/python3.5/site-packages/thonny/running.py", line 67, instart self.reset_backend()
File "/home/shrivatsa/.local/lib/python3.5/site-packages/thonny/running.py", line 427, in reset_backend self._proxy = backend_class(configuraration_option)
File "/home/shrivatsa/.local/lib/python3.5/site-packages/thonny/running.py", line 596, in __init__ self._start_new_process()
File "/home/shrivatsa/.local/lib/python3.5/site-packages/thonny/running.py", line 762, in _start_new_process my_env["JEDI_LOCATION"] = self_prepare_jedi()
File "/home/shrivatsa/.local/lib/python3.5/site-packages/thonny/running.py", line 703, in _prepare_jedi import jedi ImportError: No module named 'jedi'
应用程序启动,但没有运行按钮和dedug按钮处于活动状态。
答案 0 :(得分:1)
错误消息显示您缺少名为“ jedi”的模块。
尝试在安装IDE之前先安装它:
pip install jedi
答案 1 :(得分:0)
根据Thonny blog,此IDE使用Jedi(自动完成/静态分析库)。因此,请确保它也已安装(例如,通过pip
)。