[QGIS-Developer] External python package dependency in plugins

shiva reddy kotishiva at gmail.com
Fri Jul 6 23:11:03 PDT 2018


minor correction:

subprocess.call(['python','-m','pip','install','pyxform','--user'])
Thanks & Regards
Shiva Reddy K.
Scientist/Engineer 'SC'
Indian Institute of Remote Sensing,
Indian Space Research Organisation
Department of Space
4-Kalidas Road
Dehradun
mobile: 8791806093


On Sat, Jul 7, 2018 at 11:40 AM shiva reddy <kotishiva at gmail.com> wrote:

> Hello,
> I tried to install automatically during my pluign (QRealTime) installation
> by calling:
>
>  subprocess.call(['python','-m','install','pyxform','--user'])
>
> It worked many times in windows and it fails sometime.
> It don't work in OS X and I have not tested in ubuntu.
>
> What is the best practice for such situation?
>
>
> Thanks & Regards
> Shiva Reddy K.
> Scientist/Engineer 'SD'
> Indian Institute of Remote Sensing,
> Indian Space Research Organisation
> Department of Space
> 4-Kalidas Road
> Dehradun
> mobile: 7017035414
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180707/197cfde0/attachment-0001.html>


More information about the QGIS-Developer mailing list