Reputation: 91
I am trying to configure the remote python docker-compose interpreter in PyCharm Professional. I am able to run a small project (https://blog.jetbrains.com/pycharm/2017/03/docker-compose-getting-flask-up-and-running/#comment-370730) from the docker container. But when I try to configure it for debugging, setting up of remote interpreter gives me an error saying that docker binary couldn't be found and tells me to install docker.
Has anyone encountered this issue before?
Thanks in advance.
Upvotes: 9
Views: 2425
Reputation: 1547
For those who still getting such error, I have a workaround with setting PATH with docker binary directory in "Environment variables"
Upvotes: 2
Reputation: 1242
In my case I just had to restart my IDE. Might be worth trying that before going to any other lengths.
My theory is maybe that Docker was not started up when I opened the IDE, as I had just turned on my computer. PhpStorm is what I was using.
Upvotes: 3
Reputation: 549
I hit this same issue, from a Mac. I was able to work around it by opening Pycharm from the terminal.
You can do so by running: /Applications/PyCharm CE.app/Contents/MacOS/pycharm
Then try configuring the docker-compose interpreter again.
This seems to be an open bug in Pycharm. https://youtrack.jetbrains.com/issue/PY-31727
Upvotes: 11