Why PyCharm can't resolve reference for a remote Docker interpreter?

Answered

Hi, I'm PyCharm 2017.1.4 Pro and macOS 10.11.6.

PyCharm told me "Unresolved reference 'django'. I did install and it's included in my Docker image. I'm able to run my Django project via a remote Docker interpreter. Any idea how to make it work? Otherwise, how can I use code complete? Thanks.

63 comments
Comment actions Permalink

For newcomers: The root issue that needed a workaround was fixed in the latest build (5th October 2022). Update your Pycharm and everything should work again. What a relief!

0
Comment actions Permalink

why am I still facing this issu?

0
Comment actions Permalink

Hello @Eng Amir Bu,

Please submit a report at https://youtrack.jetbrains.com/issues/PY

with a dockerfile, docker-compose.yml attached to reproduce the issue. 

Have you tried to configure the interpreter from scratch after the update? 

0

Please sign in to leave a comment.