[Qgis-user] Setting up PyCharm for PyQGIS and Qt

Maria Elena Alfano mariaelena.alfano at polito.it
Wed Jan 17 01:28:32 PST 2024


Good morning everyone :) I wanted to ask if anyone knows how to run Python files, which run in QGIS, directly from PyCharm. I tried using this tutorial

https://plugins.qgis.org/planet/tag/pycharm/#:~:text=Setting%20up%20PyCharm%20for%20PyQGIS%20and%20Qt&text=The%20first%20thing%20we%20need,to%20tell%20PyCharm%20about%20it.

 making the necessary modifications specific to my files, and using the Python interpreter from QGIS. However, when I try to use the command 'from qgis.core import QgsRasterLayer, QgsProject,' it tells me that I don't have the qgis.core module.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20240117/47a96b3f/attachment.htm>


More information about the QGIS-User mailing list