[Qgis-developer] Installing Python Modules

Bjorn Nyberg bjorn.burr.nyberg at gmail.com
Tue Jul 1 05:13:37 PDT 2014


What are the recommended steps to install additional python modules that
are not included in the standard qgis download package? I am trying to
share some processing scripts to individuals who are not tech savy when it
involves setting up various variables that might be required - instead they
are end users. Previously I would tell them to download anaconda 2.7 and
copy the necessary packages (pandas and pysal) into the site packages of
the qgis folder however that now appears to be broken with a numpy
compiling issue.

I also have seen that there are options
http://trac.osgeo.org/osgeo4w/wiki/ExternalPythonPackages and
http://nathanw.net/2012/12/19/installing-python-setuptools-into-osgeo4w-python/
that mention methods to install modules using osgeo4w but what do I do if
the user downloaded the standalone installer does that still work? Even
though those steps appear quite simple, for a beginner that might be a
daunting task. I spent the entire day myself trying to solve the problem on
my own personal computer but got frustrated in the end with vcvarsall.bat
error (another windows challenge i need to solve - maybe i should of bought
a mac).

Would be easiest imho if there was a plugin developed to download python
modules through pip or easy install within qgis. Perhaps there has already
been a ticket developed for this that I am not aware of...

Cheers,
Bjorn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20140701/46a0555e/attachment-0001.html>


More information about the Qgis-developer mailing list