Pycharm 无法刷新远程解释器的骨架

2023-12-27

我已经将 docker-compose 设置为 Django 应用程序的 python 解释器,第一次一切都按预期工作,但是当我在requirements.txt出了问题,首先我收到一条消息,说明要求已成功安装,然后收到此消息

Couldn't refresh skeletons for remote interpreter
            com.github.dockerjava.api.exception.NotModifiedException: 
            caused by:
com.github.dockerjava.api.exception.NotModifiedException: 

之后我不断看到警告告诉我要求尚未得到满足。

My Docker daemon configuration is set to: enter image description here

And my docker-compose interpreter looks like: enter image description here The only way it seems to work is by:

  1. 在终端中运行docker-compose build
  2. 删除容器并使用 ide Run 按钮再次创建它。

在我看来,这些都不是好的解决方案,我认为它应该直接从 IDE 运行,因此是否需要执行任何额外的配置才能使其正常运行


相关错误(也许 - 在这里搜索我的错误,所以其他人也可能),但出于其他原因。

错误是:

Couldn't refresh skeletons for remote interpreter 
Failed to change an owner of the skeletons volume: 
Failed to change permissions for the skeletons volumeRegenerate skeletons

如果您在 2021 年查看此问题,请查看以下解决方案PY-49305 问题 https://youtrack.jetbrains.com/issue/PY-49305.

总之,禁用 Docker Compose V2:

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

Pycharm 无法刷新远程解释器的骨架 的相关文章

随机推荐