Reputation: 4584
I want to use a Docker image and run my python project but when I develop the project I want to get suggestions and support from the IntelliJ IDEA IDE. Even though I could run the project successfully, I cannot get the support from the IDE.
Here I try to print a simple hello world!
message.
Unresolved reference 'print'
Dockerfile
FROM mozilla/deepspeech-train
WORKDIR /speech-to-text-model
COPY ./src .
RUN python transcriber.py
Upvotes: 0
Views: 146
Reputation: 311
It appears to be a known issue - https://youtrack.jetbrains.com/issue/PY-44770
As mentioned in the ticket, the workaround is to move all python scripts to a separate module, instead of a facet.
Upvotes: 1