Vscode Python Import Could Not Be Resolved

[Solved] Vscode Python Import Could Not Be Resolved | Solidity - Code Explorer | yomemimo.com
Question : vscode not recognizing python import

Answered by : uninterested-unicorn-fiu2kop8nh5u

# In .vscode/settings.json
"python.autoComplete.extraPaths": ["./path-to-your-code"],

Source : https://stackoverflow.com/questions/53939751/pylint-unresolved-import-error-in-visual-studio-code | Last Update : Mon, 04 May 20

Question : python unresolved import vscode

Answered by : blue-badger-qkv5akrkef70

# I use pylance now. I added this. Problem solved.
"python.analysis.extraPaths": ["./path-to-code/"],
# I tried this before, but not working.
"python.autoComplete.extraPaths": ["./path-to-your-code"],

Source : https://stackoverflow.com/questions/53939751/pylint-unresolved-import-error-in-visual-studio-code | Last Update : Fri, 02 Oct 20

Answers related to vscode python import could not be resolved

Code Explorer Popular Question For Solidity