Dev Container and Pylance import error #153
michaelxswe
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have the following folder structure
Dockerfile
docker-compose.yml
devcontainer.json
Everytime I try to to create a new file such as creating sub.py under app/, and try to import it to main.py
main.py
I will get this error message
This resolve by itself if I reload the window, or rebuild the container, or pip install new libraries.
Does anyone know how I can resolve this?
Beta Was this translation helpful? Give feedback.
All reactions