<div dir="ltr"><div>I personally feel that the libraries you mentioned (
Numpy, SciPy) should always be installed without having to specifically request them.</div><div><br></div><div>Calvin<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Sep 20, 2019 at 12:37 PM Tobias Wendorff <<a href="mailto:tobias.wendorff@tu-dortmund.de">tobias.wendorff@tu-dortmund.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi there,<br>
<br>
sorry for the cross-post, but I believe, that both sides should work<br>
together on this issue.<br>
<br>
When installing QGIS on Windows the normal way (which doesn't need<br>
the user get to know about all those expert settings and libraries),<br>
you'll quickly run into the problem of missing Python libraries when<br>
installing a plugin. Numpy, SciPy or mathlib are the most common<br>
ones, but there's also well know ones, which can't get installed<br>
automatically on Windows.<br>
<br>
Perhaps we should setup rules for plugin developers to inform OSGeo4W,<br>
which plugins might be required. Perhaps we should just "grep" through<br>
all the repositories and find all the imports?<br>
<br>
But even then, QGIS on Windows doesn't automatically install the missing<br>
libraries. And even if QGIS would do (setuptools, pip, whatever), the<br>
OSGeo4W-install would lose track about this and we even might get into<br>
version chaos.<br>
<br>
So we need a bi-directional way between QGIS and OSGeo4W installer.<br>
Perhaps QGIS (or an additional QGIS plugin, hehe) could trigger<br>
OSGeo4W installer silently to download the packages needed. So it might<br>
keep track of it.<br>
<br>
Right now, it's often hard work, since not all the libraries needed<br>
have been added to OSGeo4W. Sure, the girls & guys do their best work<br>
to add the missing libs upon request, but even then, you need to be<br>
aware, WHICH plugin you need and you need to install it outside of<br>
QGIS (at best practice, even BEFORE the installation in QGIS stars<br>
because it might make QGIS instable, crash or both).<br>
<br>
How can I help?<br>
<br>
Best regards,<br>
Tobias<br>
<br>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div>