[QGIS-Developer] OSGeo4W: python libraries missing when installing plugins

C Hamilton adenaculture at gmail.com
Fri Sep 20 10:28:05 PDT 2019


I personally feel that the libraries you mentioned ( Numpy, SciPy) should
always be installed without having to specifically request them.

Calvin

On Fri, Sep 20, 2019 at 12:37 PM Tobias Wendorff <
tobias.wendorff at tu-dortmund.de> wrote:

> Hi there,
>
> sorry for the cross-post, but I believe, that both sides should work
> together on this issue.
>
> When installing QGIS on Windows the normal way (which doesn't need
> the user get to know about all those expert settings and libraries),
> you'll quickly run into the problem of missing Python libraries when
> installing a plugin. Numpy, SciPy or mathlib are the most common
> ones, but there's also well know ones, which can't get installed
> automatically on Windows.
>
> Perhaps we should setup rules for plugin developers to inform OSGeo4W,
> which plugins might be required. Perhaps we should just "grep" through
> all the repositories and find all the imports?
>
> But even then, QGIS on Windows doesn't automatically install the missing
> libraries. And even if QGIS would do (setuptools, pip, whatever), the
> OSGeo4W-install would lose track about this and we even might get into
> version chaos.
>
> So we need a bi-directional way between QGIS and OSGeo4W installer.
> Perhaps QGIS (or an additional QGIS plugin, hehe) could trigger
> OSGeo4W installer silently to download the packages needed. So it might
> keep track of it.
>
> Right now, it's often hard work, since not all the libraries needed
> have been added to OSGeo4W. Sure, the girls & guys do their best work
> to add the missing libs upon request, but even then, you need to be
> aware, WHICH plugin you need and you need to install it outside of
> QGIS (at best practice, even BEFORE the installation in QGIS stars
> because it might make QGIS instable, crash or both).
>
> How can I help?
>
> Best regards,
> Tobias
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20190920/e185cd33/attachment.html>


More information about the QGIS-Developer mailing list