PyCharm isn't finding the Python dependencies when Docker interpreter is on. How do I fix this?

Asked 2 years ago

I'm running a Python project with a Docker interpreter, and the project has no issues except for one - unresolved reference 'module'. How can I make it work?

Cohen Murphy

Saturday, October 08, 2022

First, you need to run the "pip list" command to see the details from inside the container. After checking the details, I would recommend using the "pip install" command to rebuild the image & reset the Dockerfile. If this doesn't solve your issue, then you should probably go to "File", delete all cache, and restart your computer.





Write an answer...

Cancel

Please follow our  Community Guidelines

Can't find what you're looking for?