[Qgis-user] problem with python
Richard Duivenvoorde
rdmailings at duif.net
Thu Jan 28 12:52:44 PST 2021
I've looked into this earlier. I see this also (often). This comes from the utils.py in core python:
DeprecationWarning: the imp module is deprecated in favour of importlib
See: https://docs.python.org/3/library/imp.html
to
https://docs.python.org/3/library/importlib.html
So seems doable fix, IF we know for sure that everybody is above Python 3.4....
Regards,
Richard Duivenvoorde
On 1/28/21 7:04 PM, Luigi Pirelli wrote:
> are you are running from python console btw something external to qgis code? and please give more detail about you qgis version.
>
> Luigi Pirelli
>
> **************************************************************************************************
> * LinkedIn: https://www.linkedin.com/in/luigipirelli <https://www.linkedin.com/in/luigipirelli>
> * Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli <http://gis.stackexchange.com/users/19667/luigi-pirelli>
> * GitHub: https://github.com/luipir <https://github.com/luipir>
> * Book: Mastering QGIS3 - 3rd Edition <https://www.packtpub.com/eu/application-development/mastering-geospatial-development-qgis-3x-third-edition>
> * Hire a team: http://www.qcooperative.net <http://www.qcooperative.net>
> **************************************************************************************************
>
>
> On Thu, 28 Jan 2021 at 18:33, Boaz Bar Ilan <boazprosie at gmail.com <mailto:boazprosie at gmail.com>> wrote:
>
> 2021-01-28T19:26:26 WARNING warning:C:/PROGRA~1/QGIS3~1.10/apps/qgis-ltr/./python\qgis\utils.py:792: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
>
>
>
> what can be done ?
>
>
> thanks
>
>
> boaz
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org <mailto:Qgis-user at lists.osgeo.org>
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user <https://lists.osgeo.org/mailman/listinfo/qgis-user>
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user <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
>
More information about the Qgis-user
mailing list