[Qgis-user] QGIS 3 Standalone Python Script

Chris B snowstorms at mac.com
Sun Aug 5 12:47:57 PDT 2018


Since I am having the same error as DT, I tried your suggestion but it still
returns the same error.  Is there anything in this bash profile that would
cause problems?

export
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/Applications/QGIS3.app/Contents/MacOS/lib/:/Applications/QGIS3.app/Contents/Frameworks/
export
PYTHONPATH=$PYTHONPATH:/Applications/QGIS3.app/Contents/MacOS/../Resources/python
 
export PATH=~$PYTHONPATH:$PATH
export PATH=~/Library/Frameworks/GDAL.framework/Versions/2.2/Programs:$PATH
export PATH=~/Applications/QGIS3.app/Contents/Resources/python:$PATH

export PATH=~/.local/bin:$PATH

source ~/.bashrc

# Setting PATH for Python 3.6
# The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.6/bin:${PATH}"
export PATH




--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html



More information about the Qgis-user mailing list