-
Notifications
You must be signed in to change notification settings - Fork 7
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
Error when importing QtCore with QGIS 3.22 (LTR) #1
Comments
If it also happens with other IDE's perhaps it's a problem with that version. Could you try installing an older version? I'm running 3.16.16. If that version does work, please consider raising an issue with the QGIS dev team. |
Yes, thank you very much. I'm preparing a portable install of QGIS/Python for a USB memory stick, but I stuck with the PyQt5-Module. Does it work for you to import PyQt5.QtCore? Like this: |
Importing the Qt stuff via |
I agree, but a last little thing I found out: Since Python 3.8 many packages for windows cant rely on the path variable anymore but should do this in their
If an IDE supports to run a little startup script for the python console, then this script can be run from there. |
Hm, first time I hear about such issue. Is there more info available somewhere? |
I think this comes near: https://stackoverflow.com/questions/71645822/dll-not-found-after-switching-from-python-3-7-6-to-python-3-10-3 |
I get an error using VSCode with your approach on new QGIS LTR 3.22:
I only changed your launch.json to use the ${file} variable. The error occurs also with other IDE's, like PyScripter, so may be this is an OSGeo4W problem?
The text was updated successfully, but these errors were encountered: