Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PyCharm: Can't create remote python interpreter using docker-compose

On attempt to create docker-compose python interpreter in PyCharm I get error:

Error while parsing "/Users/belek/Projects/project/docker-composee.yml": Process docker-compose config failed.

Itself docker-compose works fine. The docker-compose config command running in terminal works too.

Before updating macOS and PyCharm I was using docker-compose python interpreter succesfully. Can't understand what's wrong. I created issue in JB YouTrack, but no response.

PyCharm 2019.2.3
macOS Catalina 10.15

like image 803
belek Avatar asked Oct 14 '19 06:10

belek


People also ask

What is the difference between Docker compose and Docker compose?

The key difference between docker run versus docker-compose is that docker run is entirely command line based, while docker-compose reads configuration data from a YAML file. The second major difference is that docker run can only start one container at a time, while docker-compose will configure and run multiple.

Does Docker Compose use Python?

Note: Docker Compose requires Python 3.6 or later.


1 Answers

The following helped me.

Go to 'System Preferences' -> 'Security & Privacy'.

Add PyCharm to "Full Disk Access" and to "Developer tools".

enter image description here

enter image description here

like image 146
Andrey Fedosenko Avatar answered Oct 04 '22 10:10

Andrey Fedosenko