Almenon / Almenon/AREPL-vscode

Wrong version of python used

オープン
#418 コメント 11 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。