I want to be able to program in Qdesigner, therefore I install PyQt5, GIS applications, importing QGIS 2.99 in PyQt to be able to use Qgis
I read a lot because I can not do the import of Qgis in python 3.5
Operating System: Windows 7 - 64 bits
Installed files
python-3.5.4-amd64.exe
PyQt5-5.6-gpl-Py3.5-Qt5.6.0-x64-2.exe
QGIS-OSGeo4W-2.99.0-38-Setup-x86_64.exe
I have read on the web that I need to run the following from the python console:
from qgis.core import *
import qgis.utils
But when trying to execute the first statement, the following error appears:
error not modelu named 'qgis'
I tell you that I already add in the windows PATH the url of python, of qgis, the weird thing is that according to what I could read inside QGIS there should be a python folder, but when I fixed it I found 2 folders one of python 2.7 and another of python 3.6. whose versions I installed but uninstalled to finally leave version 3.5. QGIS 2.99 is the last thing you install.
This is one: C: \ Program Files \ QGIS 2.99 \ apps \ Python27
This is the other one: C: \ Program Files \ QGIS 2.99 \ apps \ Python36
Likewise I added to the path
C: \ Program Files \ QGIS 2.99 \ bin C: \ Program Files \ QGIS 2.99 \ lib
In conclusion what I want to do is to be able to program in QDesigner that is installed with PyQT incorporating the QGIS library