<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Dear all<br>
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:<br>
<i><br>
</i><i>sudo apt-get update
</i><i><br>
</i><i>sudo apt-get install qgis python-qgis qgis-plugin-grass</i><br>
<br>
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.<br>
<strong class="command"><br>
export PYTHONPATH=????</strong><strong class="command"><br>
</strong><strong class="command">export LD_LIBRARY_PATH=????<br>
<br>
</strong>I have tried to investigate using the Python console inside
QGIS but none of them have worked properly <br>
<i><br>
import sys</i><i><br>
</i><i>print sys.path</i><br>
<br>
And this is the result:<br>
<br>
<i>['/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']</i><br>
<br>
<br>
Any help would be appreciated,<br>
Aitor Bastarrika<br>
University of Basque Country<br>
<br>
</body>
</html>