Have you selected the correct Python Interpreter inside of VSCode?
If you have the Python extension installed, you can go into your command prompt, type in Python: Select Interpreter
, select the correct environment and VSCode should be able to recognize it.
In case that's the issue :)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.