Complemented with only OpenCV or some libraries? A memo when I changed the setting and managed to do something because something like that did not work
VS Code version 1.47.3 Windows10
Entering cv2. Does nothing after. I want you to come up with a candidate or something useful like an explanation when you enter it
Added to VS Code configuration file Add the path where the Python library you are using is included Originally it was empty
"python.autoComplete.extraPaths": [
"~\\Lib\\site-packages"
]
Pylance is good! I heard from someone and used it, but it didn't seem to work there.
"python.languageServer": "Pylance"
To
"python.languageServer": "Microsoft"
change to
In the first place, I changed to Pylance and did not notice what changed, so I will accept it for the time being (I don't know if it was originally Microsoft ...)
https://qiita.com/kusanoiskuzuno/items/fc6a32ef32dd9500f746
Recommended Posts