2

What's the correct PYTHONPATH for OS X and QGIS 3.4? I want to make a QGIS standalone app but get the "ModuleNotFoundError: No module named 'qgis'" error. This happens after following the OS X instructions at the end of Setting PythonPath.

OS X 10.11.6 QGIS 3.4.4 Python 3.6.8

1 Answers1

0

Try:

export PYTHONPATH=/Applications/QGIS3.8.app/Contents/Resources/python:${PYTHONPATH}

Substitute whatever version of QGIS you are running of course.

Taras
  • 32,823
  • 4
  • 66
  • 137
SirChasm
  • 1
  • 2