0

I'm trying to find out where I'm going wrong in trying to set up PyCharm to make standalone QGIS Python scripts.

The very first step in the tutorial is "from qgis.core import *"

I've tried each Python installed in the QGIS folder, they all have no module named qgis. enter image description here

The error is the same

enter image description here

Vince
  • 20,017
  • 15
  • 45
  • 64
  • 1
    Please don't include critical textual information as images. They are not always legible on all client platforms, and can't be searched by others to find your answer. – Vince Oct 28 '20 at 14:08
  • You need to tell PyCharm where your PyQGIS files are located (https://gis.stackexchange.com/a/317341/21355) and have QGIS installed using the OSGeo4W installer. Other resources which may help: https://haifengniu.com/en/post/pyqgis-pycharm/how-to-set-environment-for-pyqgis-3-in-pycharm/ and https://woostuff.wordpress.com/2014/05/10/setting-up-pycharm-for-pyqgis-and-qt/ – Thomas Oct 28 '20 at 15:06

0 Answers0