Vorrei usare la shell OSGeo4W con Python3 ma durante la digitazione python3ottengo il seguente errore:
Fatal Python error: Py_Initialize: unable to load the file system codec
File "C:\OSGEO4~1\apps\Python27\lib\encodings\__init__.py", line 123
raise CodecRegistryError,\
^
SyntaxError: invalid syntax
Come posso usare Python3?
{path you installed qgis}\etc\inie modificarepython-core.batcome riferimentoPython36invece chePython27nello script batch che impostaPYTHONHOMEePATH. Quindi chiamarepython3dalla CLI. Tuttavia nota che questo interromperà i collegamenti a Python 2.7 e ti darà un errore di sintassi se provi a chiamare justpython.