[Qgis-user] unable to deploy pythonscript
Patrick Dunford
enzedrailmaps at gmail.com
Thu Apr 5 01:30:00 PDT 2018
Ask your system administrator to install VirtualBox or another VM
environment (or Hyper-V Client, if your OS or desktop is capable of
running it) and then use a virtual machine environment to run Qgis.
On 05/04/18 20:06, Reginald Carlier wrote:
> Hi Frank,
>
> The problem is that the system administrator prefers just one version
> of QGIS without installing OSGEO4W on every PC.
> So I'm stuck with this version of QGIS.
>
> Regards,
>
> Reginald Carlier
>
> Deskundige GIS
>
> <https://www.ingelmunster.be/>
>
> Gemeente Ingelmunster , Oostrozebekestraat 4 , 8770 Ingelmunster
>
> T *+32 51 33 74 39* <tel:+32%2051%2033%2074%2039>
> *www.ingelmunster.be* <http://www.ingelmunster.be/>
>
> Facebook <https://www.facebook.com/Ingelmunster/> instagram
> <https://www.instagram.com/ingelmunster/> pinterest
> <https://www.pinterest.com/ingelmunster/> twitter
> <https://twitter.com/ingelmunster>
>
> *Raadpleeg onze disclaimer *
> <http://www.ingelmunster.be/email-disclaimer.html>
>
> -----Oorspronkelijk bericht-----
> Van: Frank Broniewski [mailto:hallo at frankbroniewski.com]
> Verzonden: donderdag 5 april 2018 9:34
> Aan: Reginald Carlier; qgis-user at lists.osgeo.org
> Onderwerp: AW: [Qgis-user] unable to deploy pythonscript
>
> Hi Reginald,
>
> pip and setuptools are both available through the OSGeo4W installer.
> You might as well try to use the OSGeo4W-Shell and not the default
> Windows CMD to install further python modules through pip or
> setuptools. Using the OSGeo4W-Shell takes care for setting up the
> right environment for Python.
>
> HTH
> Frank
>
> Dipl. Geogr. Frank Broniewski
> Waldhölzbacher Str. 51
> 66679 Losheim am See
> 06872 509 068 4
> 0176 611 26 9 2 6
> www.frankbroniewski.com
>
> -----Ursprüngliche Nachricht-----
> Von: Qgis-user <qgis-user-bounces at lists.osgeo.org> Im Auftrag von Reginald
> Gesendet: Donnerstag, 5. April 2018 08:26
> An: qgis-user at lists.osgeo.org
> Betreff: [Qgis-user] unable to deploy pythonscript
>
> Hi,
>
> Maybe this question should be posted to the development mailinglist
> but as I am not subscribed there I post it here.
> I have written a python script that depends on external python
> packages (python-docx, pymssq, and others). When I am trying to deploy
> it on other computers, where there is a standalone installation of
> QGIS-OSGeo4W-2.18.17-1-Setup-x86_64.exe on Windows 7 and where I have
> opened a cmd window as administrator, executed a bat file that sets
> the path right for the python environment of the installed qgis, I get
> an error when I try to execute pip commands.
> I execute them as : python -m pip install python-docx Then I get a
> mentioning of setuptools that are not installed.
> I tried to install setuptools with pip but then I got a mentioning of
> there not being a version of setuptools.
> The python version is 2.75. I downloaded setuptools and unzipped it
> and executed easy_install.py but then I got a mentioning that I might
> have no rights to write to this directory. As I am administrator this
> can not be the case.
> How can I install setuptools or use pip to download external python
> packages for the qgis python installation?
>
> Regards,
>
>
>
>
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20180405/a3941fd5/attachment.html>
More information about the Qgis-user
mailing list