Pylance code completion is not effective for third-party libraries with poetry

I use Poetry and put my virtualenv locally within the project directory.Pylance code completion is not effective for third-party libraries.

I have already set following code
“python.autoComplete.extraPaths”:[“D:\BaiduSyncdisk\Codefield\dataScience_py\.venv\Lib\site-packages”, “D:\Software\Python\3_10_8\Lib”]

“python.analysis.extraPaths”:[“D:\BaiduSyncdisk\Codefield\dataScience_py\.venv\Lib\site-packages”,”D:\Software\Python\3_10_8\Lib”]

Pylance code completion

Leave a Comment