<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[ModuleNotFoundError: No module named &#x27;PyQt6&#x27; using Thonny for Windows]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I am following the PyQt6 tutorial using the Thonny IDE in Windows 11,and when I run the script I get the following error:</p>
<pre><code>Traceback (most recent call last):
  File "C:\Users\tonyj\Scripts\Python\app.py", line 1, in &lt;module&gt;
    from PyQt6.QtWidgets import QApplication, QWidget
ModuleNotFoundError: No module named 'PyQt6'
</code></pre>
<p dir="auto">If I call the script from Python it works perfectly.  I've also tried it in PvCharm and VSCode: both display the same error.  All systems (Windows, Python, Pip etc) are all at the latest version.</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.qt.io/topic/165195/modulenotfounderror-no-module-named-pyqt6-using-thonny-for-windows</link><generator>RSS for Node</generator><lastBuildDate>Thu, 05 Nov 2026 08:40:02 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/165195.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 21 Oct 2026 13:17:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ModuleNotFoundError: No module named &#x27;PyQt6&#x27; using Thonny for Windows on Wed, 21 Oct 2026 19:08:00 GMT]]></title><description><![CDATA[<p dir="auto">Hi and welcome to devnet,</p>
<p dir="auto">I didn't know it's existence so there are a couple of things. You seem to have an existing Python setup on your system, correct ?<br />
Thonny comes with its own Python environment if installed through its package.<br />
So:</p>
<ul>
<li>How did you install Thonny ?</li>
<li>If through its official package, did you install PyQt6 from within the IDE ?</li>
<li>If wanting to use your existing Python environment, did you follow the <a href="https://github.com/thonny/thonny/wiki/SeparateInstall" target="_blank" rel="noopener noreferrer nofollow ugc">separate install wiki page</a> ?</li>
</ul>
]]></description><link>https://forum.qt.io/post/840559</link><guid isPermaLink="true">https://forum.qt.io/post/840559</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Wed, 21 Oct 2026 19:08:00 GMT</pubDate></item></channel></rss>