PyCharm:无法使用docker-compose创建远程python解释器 [英] PyCharm: Can't create remote python interpreter using docker-compose

查看:298
本文介绍了PyCharm:无法使用docker-compose创建远程python解释器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试在PyCharm中创建docker-compose python解释器时出现错误:

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

解析"/Users/belek/Projects/project/docker-composee.yml"时出错:进程docker-compose config失败.

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解释器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆