Yes. Configuring system paths to point to qgis libraries will allow native
python to work with pyqgis. I have a complete example for Mac which can be
easily adapted for a linux based system.
https://courses.spatialthoughts.com/pyqgis-in-a-day.html#writing-standalone-python-scripts
[image: Logo] <https://spatialthoughts.com/>
Ujaval Gandhi
Spatial Thoughts
mobile: +91-8095684687
email: [email protected]
[image: LinkedIn icon] <https://www.linkedin.com/in/spatialthoughts/>  [image:
Twitter icon] <https://twitter.com/spatialthoughts>



On Wed, Jun 8, 2022 at 7:25 AM Andrew Hughes via Qgis-user <
[email protected]> wrote:

> Hi All,
>
> Q: Is it possible to have a system/native python install work with PyQGIS?
>
> Finer Details: I am working with Azure Functions. Their base
> (container/docker) image includes a python install. I can provide a custom
> docker image, thus I can set system paths and run all the instructions as
> per this https://qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu
> so that QGIS is installed on the container. But, I doubt my (function) app
> can be configured to run a-top of the QGIS python install that is bundled
> with QGIS.
>
> Also, I don't know if conda is an option - would prefer to assume not at
> this point in time as that doesn't align with local development tooling
> that is based on venv.
>
> Things I am hoping to see:
> Yes - but you need to set a PATH.... or PYTHONPATH....
> Yes - but need to see ..... in requirements.txt
> No - impossible, fill your boots....
>
> Thanks for reading
> Andrew
>
>
>
> _______________________________________________
> Qgis-user mailing list
> [email protected]
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
_______________________________________________
Qgis-user mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to