Skip to content
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

Import "PyQt5.QtWidgets" could not be resolved #1767

Closed
OlafvdSpek opened this issue Sep 4, 2021 · 4 comments
Closed

Import "PyQt5.QtWidgets" could not be resolved #1767

OlafvdSpek opened this issue Sep 4, 2021 · 4 comments

Comments

@OlafvdSpek
Copy link

Python 3.9 from Windows Store on Windows 10, code runs fine. Is it necessary to manually add pip import paths? If so, what do I add?

Import "PyQt5.QtWidgets" could not be resolved

> pip list
Package   Version
--------- -------
llvmlite  0.37.0
numba     0.54.0
numpy     1.20.3
pip       21.2.4
PyQt5     5.15.4
PyQt5-Qt5 5.15.2
PyQt5-sip 12.9.0
PyQt6     6.1.1
PyQt6-Qt6 6.1.2
PyQt6-sip 13.1.0
@github-actions github-actions bot added the triage label Sep 4, 2021
@OlafvdSpek
Copy link
Author

Restarting VSC 'fixed' the issue.. don't new packaged get picked up automatically?

@yvvt0379
Copy link

yvvt0379 commented Sep 4, 2021

Yes.

@jakebailey
Copy link
Member

jakebailey commented Sep 4, 2021

They don't, if they're not in the workspace, see #923 (which we plan to fix).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@OlafvdSpek @jakebailey @yvvt0379 and others