Most "missing import" errors are solved by simply telling VS Code which Python executable to use.

If you search for this issue, you’ll find it’s a "hot" topic in the Python community. The code works, but the developer experience is broken. Here is the breakdown of why this happens and the two-minute fix to get your IntelliSense back.

Look for an entry that includes your project name and mentions or a path like .venv .

[tool.poetry.dependencies] python = "^3.11" core = path = "./core", develop = true

After switching interpreter: Ctrl+Shift+P → Developer: Reload Window .

Esta web utiliza cookies propias y de terceros para su correcto funcionamiento y para fines analíticos. Contiene enlaces a sitios web de terceros con políticas de privacidad ajenas que podrás aceptar o no cuando accedas a ellos. Al hacer clic en el botón Aceptar, acepta el uso de estas tecnologías y el procesamiento de tus datos para estos propósitos. Ver
Privacidad