pilat / vscode-importmagic

MIT License
36 stars 7 forks source link

"Index checking in progress..." Can't stop. #28

Open HiWoo opened 3 years ago

HiWoo commented 3 years ago

Version: v0.2.5 Environment: Remote development using vscode in Win, using "Remote- SSH" to connect to remote servers (Ubuntu 18, .vscode)

In one of my work projects, ImportMagic has been checking "ImportMagic: Index checking in progress..." and will not stop.

This is not the case in other projects. Thank you for sharing.

klaimane commented 3 years ago

same issue here on version 1.51.1- is there any solution or workaround?

HiWoo commented 3 years ago

I found that it can't be stopped when indexing some python libraries (such as python caffe2), and there may be a wireless loop (guess). You can install the torch library to test it, and caff2 will be installed automatically when you install it.

pip install torch
HiWoo commented 3 years ago

same issue here on version 1.51.1- is there any solution or workaround?

Pylance (vscode python server) supports automatic import, which I think is quite good. It is developed and maintained by the vscode team.

https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance

klaimane commented 3 years ago

with Pylance after installation (local:windows, remote:CentOS) I get an error message"Cannot activate the 'Python' extension because it depends on the 'Jupyter' extension, which is disabled. Would you like to enable the extension and reload the window? ". When I click yes, VSCODE reloads but I get the same error again. Any ideas?