pythonvisual-studio-codeintellisense

How to preload Python packages in VSCode


I set up the Conda environment on a network data volume in order to allow it to be shared across different Docker platforms. As a result, loading Python packages and Intellisense in VSCode cannot be done quickly

I tried using python.autoComplete. reloadModules, but it didn't work


Solution

  • This could be caused by network or Conda environment loading. If you're running in a Docker container, you can using vscode's remote development extension, which will mitigate the impact of network latency.