Ever had one of these issues with Pycharm 2018 and Docker?
Couldn't refresh skeletons for remote interpreter
The docker-compose process terminated unexpectedly: /usr/local/bin/docker-compose -f docker-compose.yml -f .PyCharm2018.3/system/tmp/docker-compose.override.8.yml run --rm --name skeleton_generator_643129755 python
Regenerate skeletons
or
can't open file '/opt/.pycharm_helpers/pycharm/django_test_manage.py' + "No such file or directory"
Then you should clear all pycharm helpers from your docker containers and images:
docker ps -a | grep -i pycharm | awk '{print $1}' | xargs docker rm
docker images | grep -i pycharm | awk '{print $3}' | xargs docker rmi
Gabriel
Thanks, I couldn't for the life of me figure out why Pycharm wouldn't work with my Django container.
You just saved my day!
/Gabriel
Maciej
Thanks a lot! I've spent around 4 hours figuring out how to set up Pycharm interpreter in a docker-compose container and it solved my problems.