问题
When I change my project to another conda environment than base environment, python code completion doesn't work anymore for installed modules (like cv2).
I have no problem detecting the environment or running my code though. How can I fix it ?
回答1:
Open your Anaconda Prompt, activate the environment, and then launch VS Code from within the activated environment (i.e. code .
).
来源:https://stackoverflow.com/questions/62018436/vscode-intellisense-code-completion-doesnt-work-when-i-am-not-in-base-conda-e