I am unsuccessful in running a QGIS python script (generated and working in QGIS and then saved as a python script). At the moment I am not fussed about the functions it is calling as can't even get to a standard print statement. The bigger picture is to migrate from running all my code using ESRI functionality to QGIS
I'm not getting past this stage:
from qgis.core import *
print("from qgis.core import *")
The error is:
*Traceback (most recent call last):
File "X:\10_Misc\Basic_Test.py", line 9, in <module>
from qgis.core import *
ImportError: No module named qgis.core*
Any ideas? I have made changes to my python libraries as advised here: https://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/intro.html#using-pyqgis-in-standalone-scripts
Thanks in advance