After about 50 times of trying this, it finally worked.
"python.pythonPath": "env/venv/bin/python3.9"
In my case I had to open the project folder on the same workspace. Than, worked. Example: I had: folderProject/app/venv. When I open the folder project and try load venv, it doen´t work. But with I open app as my workspace and venv inside app folder everything work,
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.