wookayin / vim-autoimport

A vim plugin for adding import statements (for python and more) without LSP
https://work.in.progress
25 stars 5 forks source link

Error :ImportSymbol on Windows10 #2

Open tamago324 opened 4 years ago

tamago324 commented 4 years ago

When I run :ImportSymbol re with gVim on Windows10, I get the following error.

:py3 print(sys.version): 3.8.1 (tags/v3.8.1:1b293b6, Dec 18 2019, 22:39:24) [MSC v.1916 32 bit (Intel)]

Error detected while processing function <SNR>23_ImportSymbol[7]..autoimport#import_symbol:
line    1:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\tamago324\vimfiles\plugged\vim-autoimport\python3\vim_autoimport\managers\__init__.py", line 31, in get_manager
    manager = PythonImportManager()
  File "C:\Users\tamago324\vimfiles\plugged\vim-autoimport\python3\vim_autoimport\managers\python.py", line 89, in __init__
    self._strategies = self.create_strategies()
  File "C:\Users\tamago324\vimfiles\plugged\vim-autoimport\python3\vim_autoimport\managers\python.py", line 95, in create_strategies
    BuiltinCTagsStrategy() if find_executable("ctags") else None,
  File "C:\Users\tamago324\vimfiles\plugged\vim-autoimport\python3\vim_autoimport\managers\python.py", line 223, in __init__
    _w = asyncio.get_child_watcher()
  File "C:\Users\tamago324\.pyenv\pyenv-win\versions\3.8.1\Lib\asyncio\events.py", line 763, in get_child_watcher
    return get_event_loop_policy().get_child_watcher()
  File "C:\Users\tamago324\.pyenv\pyenv-win\versions\3.8.1\Lib\asyncio\events.py", line 599, in get_child_watcher
    raise NotImplementedError
NotImplementedError
E858: Eval did not return a valid python object

Thank you!