[Qgis-developer] Mac enviromental variable problem

francescoboccacci at libero.it francescoboccacci at libero.it
Tue Apr 9 01:06:01 PDT 2013


Hi all,
i have a question about enviromental variable on Mac.
>From python shell i can import psycopg2 module. If i use Python console from 
QGIS this module it can found.
I have to write:
import sys
sys.path.append('/opt/local/Library/Frameworks/Python.framework/Versions/2.
7/lib/python2.7/site-packages/')
import psycopg2

and now it works.
How can fix it adding  permanently to QGIS enviromental variable?

Thanks

Francesco



More information about the Qgis-developer mailing list