Search code examples
pycharmdocker-compose

Pycharm Couldn't refresh skeletons for remote interpreter


I've set a docker-compose as my python interpreter for my Django application, the first time everything worked as expected, however when I add a new requirement in requirements.txt something goes wrong, first I got a message stating that the requirement was successfully installed and then get this message

Couldn't refresh skeletons for remote interpreter
            com.github.dockerjava.api.exception.NotModifiedException: 
            caused by:
com.github.dockerjava.api.exception.NotModifiedException: 

After that I keep seeing the warning telling me that the requirement has not been satisfied.

My Docker daemon configuration is set to: enter image description here

And my docker-compose interpreter looks like: enter image description here The only way it seems to work is by:

  1. run in the terminal docker-compose build
  2. removing the container and creating it again with the ide Run button.

In my opinion these are not good solutions and I think it should work directly from the IDE, so is there any extra configuration that needs to be performed for it to work properly


Solution

  • Apparently this was an issue on version 2018.1.1 and has been fixed in version 2018.1.2, for future reference here is a list of tickets issues and with detailed information and what they are doing to fix the issues, I think you need to sign up, but it's free anyway.