[Qgis-user] QGIS 3 Standalone Python Script

Santiago Higuera shiguera at mercatorlab.com
Sun Aug 5 14:37:56 PDT 2018


 From python console, inside QGIS, you can see the active path with:

import sys
print(sys.path)


El 05/08/18 a las 21:47, Chris B escribió:
> 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
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user




More information about the Qgis-user mailing list