[osgeo4w] #547: Python3 tries load python2 files and crashes

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[osgeo4w] #547: Python3 tries load python2 files and crashes

OSGeo4W
#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.

_______________________________________________
osgeo4w-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Reply | Threaded
Open this post in threaded view
|

Re: [osgeo4w] #547: Python3 tries load python2 files and crashes

OSGeo4W
#547: Python3 tries load python2 files and crashes
--------------------+----------------------------
Reporter:  kbevers  |       Owner:  osgeo4w-dev@…
    Type:  defect   |      Status:  new
Priority:  major    |   Component:  Package
 Version:           |  Resolution:
Keywords:           |
--------------------+----------------------------

Comment (by jef):

 You need to run `call py3_env.bat` first.

--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/547#comment:1>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.

_______________________________________________
osgeo4w-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Reply | Threaded
Open this post in threaded view
|

Re: [osgeo4w] #547: Python3 tries load python2 files and crashes

OSGeo4W
In reply to this post by OSGeo4W
#547: Python3 tries load python2 files and crashes
--------------------+----------------------------
Reporter:  kbevers  |       Owner:  osgeo4w-dev@…
    Type:  defect   |      Status:  new
Priority:  major    |   Component:  Package
 Version:           |  Resolution:
Keywords:           |
--------------------+----------------------------

Comment (by kbevers):

 Thanks! I was not aware of that script.

--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/547#comment:2>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.

_______________________________________________
osgeo4w-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Reply | Threaded
Open this post in threaded view
|

Re: [osgeo4w] #547: Python3 tries load python2 files and crashes

OSGeo4W
In reply to this post by OSGeo4W
#547: Python3 tries load python2 files and crashes
--------------------+----------------------------
Reporter:  kbevers  |       Owner:  osgeo4w-dev@…
    Type:  defect   |      Status:  closed
Priority:  major    |   Component:  Package
 Version:           |  Resolution:  worksforme
Keywords:           |
--------------------+----------------------------
Changes (by jef):

 * status:  new => closed
 * resolution:   => worksforme


--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/547#comment:3>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.

_______________________________________________
osgeo4w-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/osgeo4w-dev