When trying to configure docker-compose interpreter in PyCharm on macOS Catalina, I'm getting the following error:
Error while parsing "/Users//PycharmProjects/project/docker-composee.yml": Process docker-compose config failed.
When trying to configure docker-compose interpreter in PyCharm on macOS Catalina, I'm getting the following error:
Error while parsing "/Users//PycharmProjects/project/docker-composee.yml": Process docker-compose config failed.
1) On your macOS go to System Preferences | Security & Privacy
2) Make sure PyCharm is in "Full Disk Access" and "Developer tools".
EDIT: you may need to install Xcode for "Developer tools" to appear.
Also, vote for https://youtrack.jetbrains.com/issue/PY-38501
For me (Linux, docker-compose v2, docker-compose.yml version: 3.9), with docker-compose v2.2.3 the issue was that the wrong docker-compose executible was mapped to the correct
Settings -> Build, Execution, Deployment -> Docker -> tools
Change:
/usr/bin/docker-compose to /home/{INSERT_YOUR_USER_HERE_AS_TILDA_DOES_NOT_WORK}/.docker/cli-plugins/docker-compose (or wherever the correct version of docker compose is).
Once you will enter a version which is docker-compose v2 compatible you would also have tick the checkbox.