Opened 7 years ago
Closed 7 years ago
#547 closed defect (worksforme)
Python3 tries load python2 files and crashes
| Reported by: | kbevers | Owned by: | |
|---|---|---|---|
| Priority: | major | Component: | Package |
| Version: | Keywords: | ||
| Cc: |
Description
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.
Change History (3)
comment:1 by , 7 years ago
comment:3 by , 7 years ago
| Resolution: | → worksforme |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

You need to run
call py3_env.batfirst.