17

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

2
  • 1
    I am facing the same issue Commented Oct 14, 2019 at 9:53
  • @OmairShamshir if find solution, please provide answer Commented Oct 14, 2019 at 11:57

1 Answer 1

33

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

Sign up to request clarification or add additional context in comments.

2 Comments

Found on JetBrains Bug & Issue Tracker: If you don't see Developer Tools, you will need to install Xcode
In my case, adding PyCharm to "Full Disk Access" is enough, restart PyCharm then issue's gone

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.