New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ModuleNotFoundError: No module named 'PyQt5' #7252
Comments
Please run
or
depending on how you installed Spyder |
Thanks for reporting. As the PLEASE READ statement at the top of the issue template clearly states, please complete the checklist before reporting. If you had searched the issue page, you would have noted a large number of similar reports posted, including a few from just a few days ago, with the exact same error detailing clearly how to resolve it in multiple fashions. Additionally, many of the other troubleshooting steps specified in the checklist, which were not indicated as complete, would also resolve it. Therefore, please do all of that and, if it is still not fixed, provide the requested information before re-opening. Thanks, and best of luck! |
Thanks!.. It's working now. |
I got a solution for that. C:\Users\Chinna\AppData\Local\Programs\Python\Python37-32\Scripts> Copy your program in the same directory. DEVELOPER EDIT: Do NOT do this, at least if on an Anaconda install. This is not the correct approach and will break Spyder if it is otherwise installed correctly. |
@Chinna111 Thanks for trying to help, but this is a closed, duplicate, resolved issue. Furthermore,
Is NOT the correct approach, at least for the majority of our users on Anaconda installs, and in fact will completely break Spyder if it is installed correctly. Instead, you should follow our troubleshooting guide, which should resolve this, or try
Neither of these are necessary, as |
감사합니다 Visual studio code에서 오류가 생겨 끙끙대었는데 |
@JungChoungGyoon Google Translate did a pretty good job with your message. However, this is the repository for the Spyder IDE, which has not relation whatsoever to Visual Studio Code, and as you can see in my comment directly above yours I warn extremely strongly against using |
This comment has been minimized.
This comment has been minimized.
@fahadmunir3326 Sorry, but please read the thread before posting potentially dangerous advice. As I replied a couple comments above to someone suggesting the same thing (emphasis original):
In addition, since this was posted we now offer and recommend our standalone installers that include the correct version of PyQt build right in, and will not break if you install/update packages in your working environment, so this problem can no longer occur at all. |
Issue Report Checklist
conda update spyder
(orpip
, if not using Anaconda)jupyter qtconsole
(if console-related)spyder --reset
Problem Description
ModuleNotFoundError: No module named 'PyQt5'
while import form command prompt
What steps reproduce the problem?
open command prompt in windows
cmd
What is the expected output? What do you see instead?
Paste Traceback/Error Below (if applicable)
Versions
Dependencies
The text was updated successfully, but these errors were encountered: