[India-discuss] Python module not found issue in new build QGIS Plugin.

Heliware SGR explore at heliware.co.in
Wed Oct 13 23:00:04 PDT 2021


Hello OSGEO Team,

I created QGIS Plugin with python module "haversine" which is must be required to run my plugin, but "haversine" module is not pre-installed in QGIS python environment. While creating/testing a plugin I manually install python module in QGIS python environment.
But I'm confused as to where and how to define all required python modules for plugin during publishing. I need to automatically install the required python module "haversine" in the QGIS python environment when a any user install my QGIS plugin.
Please explain or provide solution to resolve the issue of how to define required python module for plugin and it will be automatically install with plugin.

System Details:
Operating system : Windows 10
QGIS Desktop version : 3.20.3
python in QGIS environment : python 3.9.5

Mukul Sharma
Python Developer
Thanks and Regards
SGR Labs Pvt. Ltd.
Email : explore at heliware.co.in
Phone : 9310876710
Office : 24 Square, South City-1,
Sector 41, Gurugram,
Haryana 122022
Website:https://heliware.co.in
Follow us on LinkedIn:
(https://www.linkedin.com/company/sgr-labs)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/india-discuss/attachments/20211014/218f1e58/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 12296 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/india-discuss/attachments/20211014/218f1e58/attachment.png>


More information about the India-discuss mailing list