Almenon / Almenon/AREPL-vscode

Wrong version of python used

未关闭
#418 11 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
TypeScript
星标
301
派生
46
PR 合并指标
30 天内没有已合并 PR

描述

I had imported asyncio, got the following error. Removed the import and all the associated asyncio and still getting the following error.

```cmp
Sorry, AREPL has ran into an error

Traceback (most recent call last):
File "c:\Users\k\.vscode-insiders\extensions\almenon.arepl-2.0.3\node_modules\arepl-backend\python\arepl_python_evaluator.py", line 298, in main
return_info = exec_input(execArgs)
File "c:\Users\k\.vscode-insiders\extensions\almenon.arepl-2.0.3\node_modules\arepl-backend\python\arepl_python_evaluator.py", line 234, in exec_input
asyncio.set_event_loop(asyncio.new_event_loop())
File "C:\Users\k\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 642, in new_event_loop
return get_event_loop_policy().new_event_loop()
File "C:\Users\k\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 617, in get_event_loop_policy
_init_event_loop_policy()
File "C:\Users\k\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 610, in _init_event_loop_policy
from . import DefaultEventLoopPolicy
SystemError: Parent module 'asyncio' not loaded, cannot perform relative import
```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。