问题描述
尝试在PyCharm中创建docker-compose python解释器时出现错误:
On attempt to create docker-compose python interpreter in PyCharm I get error:
docker-compose本身工作正常.在终端中运行的docker-compose config
命令也可以.
Itself docker-compose works fine. The docker-compose config
command running in terminal works too.
在更新macOS和PyCharm之前,我已成功使用docker-compose python解释器.无法理解出了什么问题.我在JB YouTrack中创建了问题,但没有回应.
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
PyCharm 2019.2.3
macOS Catalina 10.15
推荐答案
以下内容帮助了我.
转到系统偏好设置"->安全性和隐私".
Go to 'System Preferences' -> 'Security & Privacy'.
将PyCharm添加到全盘访问"和开发人员工具".
Add PyCharm to "Full Disk Access" and to "Developer tools".
这篇关于PyCharm:无法使用docker-compose创建远程python解释器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!