[Osgeo4w-trac] [osgeo4w] #547: Python3 tries load python2 files and crashes
OSGeo4W
trac_osgeo4w at osgeo.org
Mon Dec 4 06:26:21 PST 2017
#547: Python3 tries load python2 files and crashes
--------------------+---------------------------
Reporter: kbevers | Owner: osgeo4w-dev@…
Type: defect | Status: new
Priority: major | Component: Package
Version: | Keywords:
--------------------+---------------------------
When I am trying to start the Python3 console I get the following error
message:
{{{
> python3
Fatal Python error: Py_Initialize: unable to load the file system codec
File "C:\OSGeo4W64\apps\Python27\Lib\encodings\__init__.py", line 123
raise CodecRegistryError,\
^
SyntaxError: invalid syntax
Current thread 0x000039b4 (most recent call first):
}}}
It would seem like the paths for Py2 and Py3 are messed up. I haven't been
able to pinpoint exactly where though.
--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/547>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.
More information about the Osgeo4w-trac
mailing list