<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div class="default-style">
<div class="default-style">
Hello OSGEO Team,
</div>
<div class="default-style">
<br>
</div>
<div class="default-style">
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.
</div>
<div class="default-style">
I also define this mandatory python module in metadata as shown in image
</div>
<div class="default-style">
<img class="aspect-ratio" src="cid:b8a62a08adbb475bb66c3f68debf95e2@Open-Xchange">
<br>
</div>
<div class="default-style">
<br>
</div>
<div class="default-style">
but at a time of plugin installing QGIS does not install python module in QGIS python environment and rise below error.
</div>
<div class="default-style">
<img class="aspect-ratio" src="cid:9de67b9d4c4a4304964fc47524b02e66@Open-Xchange">
<br>
</div>
<div class="default-style">
<br>
</div>
<div class="default-style">
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.
</div>
<div class="default-style">
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, so at a time of plugin installation mandatory python module will be automatically install in QGIS python environment.
</div>
<div class="default-style">
<div class="default-style">
<br>
</div>
</div>
<div class="default-style">
System Details:
</div>
<div class="default-style">
Operating system : Windows 10
</div>
<div class="default-style">
QGIS Desktop version : 3.20.3
</div>
<div class="default-style">
python in QGIS environment : python 3.9.5
</div>
</div>
<div class="io-ox-signature">
<div class="default-style">
<div>
<img id="bdc3881f-2b72-4767-94c2-71a19a4b415d" class="aspect-ratio" style="width: 140px; height: 36px; max-width: 100%;" src="cid:df100c78-a14c-4631-b030-3ef6f166f55a" width="246" height="63">
</div>
</div>
<div class="default-style">
<div>
<span style="font-size: 8pt;"><strong>Mukul Sharma</strong></span>
</div>
<div class="default-style">
<span style="font-size: 8pt;">Python Developer</span>
</div>
<div>
<span style="font-size: 8pt;">Thanks and Regards</span>
</div><span style="font-size: 8pt;"><strong>SGR Labs Pvt. Ltd.</strong></span>
</div>
<div class="default-style">
<span style="font-size: 8pt;"><span style="color: #000000; font-family: times new roman, serif;">Email : </span><span style="color: #000080; font-family: 'times new roman', serif;">explore@heliware.co.in</span></span>
</div>
<div class="default-style">
<div>
<span style="font-family: 'times new roman', serif; color: #333333; font-size: 8pt;">Phone : <span style="color: #000080;">9310876710</span></span>
</div>
<div>
<span style="color: #000000; font-family: 'times new roman', serif; font-size: 8pt;">Office : 24 Square, South City-1,<br>Sector 41, Gurugram,<br>Haryana 122022</span>
</div>
<div>
<span style="font-size: 8pt;">Website:<span style="color: #000080;"><a href="https://heliware.co.in">https://heliware.co.in</a></span></span>
</div>
<div class="default-style">
<span style="color: #000000; font-size: 8pt;">Follow us on LinkedIn:</span>
</div>
<div class="default-style">
<span style="color: #000000; font-size: 8pt;"><span style="color: #000080;">(<a href="https://www.linkedin.com/company/sgr-labs">https://www.linkedin.com/company/sgr-labs</a>)</span></span>
</div>
</div>
</div>
</body>
</html>