<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi there,</p>
<p>I'm using Python 3.7.1 (v3.7.1:260ec2c36a, Oct 20 2018, 14:57:15)
[MSC v.1915 64 bit (AMD64)] on Windows 10 on pyCharm 2020.1.4<br>
I was runing pyqt5.12 without troubles. <br>
I've tested a script to use QPrinter and this ended up with
Process finished with exit code -1073740791 (0xC0000409) unable to
debug (for me).</p>
<pre style="background-color:#ffffff;color:#333333;font-family:'JetBrains Mono',monospace;font-size:9,8pt;"><span style="color:#a71d5d;">from </span>PyQt5 <span style="color:#a71d5d;">import </span>QtPrintSupport
myprinter <span style="color:#a71d5d;">= </span>QtPrintSupport<span style="color:#63a35c;">.</span><span style="color:#0086b3;">QPrinter ()
</span></pre>
<p>I thought maybe I need upgrade and installed py <br>
pip install PyQt5==5.15 PyQtChart==5.15 pyqtwebengine==5.15 (pip3
same results)</p>
<p>After that I got an import error also frpm another script which
contains<br>
</p>
<pre style="background-color:#ffffff;color:#333333;font-family:'JetBrains Mono',monospace;font-size:9,8pt;"><span style="color:#a71d5d;">from </span>PyQt5 <span style="color:#a71d5d;">import </span>QtChart</pre>
<p>ImportError: cannot import name 'QtChart' from 'PyQt5'
(C:\Users\myname\IR-Check_Tablet\lib\site-packages\PyQt5\__init__.py).
<br>
</p>
<p>The files are installed, I have a directory with lot of files
(53) called c:\Program
Files\Python37\Lib\site-packages\PyQt5\bindings\QtChart\<br>
</p>
<p>Also, the QPrinter error still exists.</p>
<p>I cleared caches, run multiple restarts. All other modules seems
to run normal. All installs are made as Administrator.</p>
<p>I've no idea how to solve this. There were no other changes on
the machine done. Can someone give me a hint where to start? <br>
</p>
<p>Thanks in advance</p>
<p>Hans<br>
</p>
<p><br>
</p>
</body>
</html>