[Qgis-developer] Trouble finding pyQGIS required paths
Aitor Bastarrika
aitor.bastarrika at ehu.es
Fri Jun 12 07:28:55 PDT 2015
Dear all
I have Linux Mint 17.1 and Qgis 2.8.1 Wien version correctly installed
using the apt-get operator from the "home/aitor" Terminal:
/
//sudo apt-get update //
//sudo apt-get install qgis python-qgis qgis-plugin-grass/
I am new to Linux/Python , and I not able to find the required paths for
updating the PYTONPATH and LD_LIBRARY_PATH in order to use pyQGIS from
an external Python environment.
*
export PYTHONPATH=????**
**export LD_LIBRARY_PATH=????
*I have tried to investigate using the Python console inside QGIS but
none of them have worked properly
/
import sys//
//print sys.path/
And this is the result:
/['/home/aitor/.qgis2/python/plugins/processing',
'/usr/share/qgis/python', u'/home/aitor/.qgis2/python',
u'/home/aitor/.qgis2/python/plugins', '/usr/share/qgis/python/plugins',
'/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu',
'/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old',
'/usr/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages/PILcompat',
'/usr/lib/python2.7/dist-packages/gtk-2.0',
'/usr/lib/pymodules/python2.7',
'/usr/lib/python2.7/dist-packages/ubuntu-sso-client',
'/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode',
u'/home/aitor/.qgis2//python',
'/usr/share/qgis/python/plugins/fTools/tools']/
Any help would be appreciated,
Aitor Bastarrika
University of Basque Country
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150612/af4d8acf/attachment.html>
More information about the Qgis-developer
mailing list