all imports seems to work fine in Python console but none of them seem to be recognized in the actual script. Also added the DLL folder to Path. Yet it doesn not work.

PyCharm 2019.1 (Community Edition) Build #PC-191.6183.50, built on March 19, 2019 JRE: 11.0.2+9-b159.30 amd64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Windows 10 10.0

1 Answers

OmerB On

Making @PavelKarateev's comment an answer, for other people encountering this error:

This is an unfortunate and known issue in PyCharm 2019.1. Should be fixed in PyCharm 2019.1.2 2019.1.3.