Hi Jacky, On Wed, 13. Nov 2019 at 14:04:58 +0000, VOLPES-EXT, Jacky wrote: > I am on Windows, and I guess that the file etc/ini/python-core.bat in the > installation directory has an invalid content : > SET PYTHONHOME=%OSGEO4W_ROOT%\apps\Python27 > PATH %OSGEO4W_ROOT%\apps\Python27\Scripts;%PATH%
> Since QGIS 3 I have to hand-modify it from Python27 to Python37 on both > lines, in order to have my Eclipse environment working after the running the > following batch file : bin\o4w_env.bat > Obviously, the same for using OSGeo4W Shell which is not correctly configured > for python3 unless modifying the above file, as it calls bin\o4w_env.bat for > initialization. You need to call py3_env.bat - like everything else in OSGeo4W that uses python3. python2 is still the default python, although the last bit that was using python2 - read GRASS - was upgraded to python3 a few days ago. Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50 Software Engineer D-26506 Norden https://www.norbit.de QGIS release manager (PSC) Germany IRC: jef on FreeNode
signature.asc
Description: PGP signature
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH Rheinstrasse 13, 26506 Norden GF: Juergen Fischer, Nils Kutscher HR: Amtsgericht Aurich HRB 100827 Datenschutzerklaerung: https://www.norbit.de/83/
_______________________________________________ QGIS-Developer mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
