【发布时间】:2022-01-10 20:45:52
【问题描述】:
我想使用 Docker 映像并运行我的 python 项目,但是当我开发项目时,我想从 IntelliJ IDEA IDE 获得建议和支持。尽管我可以成功运行项目,但我无法获得 IDE 的支持。
这里我尝试打印一个简单的hello world! 消息。
Unresolved reference 'print'
Dockerfile
FROM mozilla/deepspeech-train
WORKDIR /speech-to-text-model
COPY ./src .
RUN python transcriber.py
【问题讨论】:
-
这似乎是一个已知问题youtrack.jetbrains.com/issue/PY-44770。请从那里尝试解决方法。
-
@AndreyResler 谢谢,这样我就可以获得 python 支持了。
标签: python docker intellij-idea mozilla-deepspeech