[Scons-users] Fatal Python error: Py_Initialize: unable to load the file system codec (Windows)

Bill Deegan bill at baddogconsulting.com
Tue May 9 19:48:14 EDT 2017


Doesn't work with python < 2.7 or >= 3.0
You'll have to install python2.7 for now.
The 3.0 port is a work in progress, hopefully be ready in a week or so.

Surprised it even ran at all, it should check for python version.

How did you run it? (command line )

-Bill

On Tue, May 9, 2017 at 5:45 PM, R0b0t1 <r030t1 at gmail.com> wrote:

> On Tue, May 9, 2017 at 7:22 AM, Bill Deegan <bill at baddogconsulting.com>
> wrote:
> > What platform?
> > What version of SCons?
> > What version of Python?
> >
> > -Bill
> >
> > On Tue, May 9, 2017 at 1:13 AM, R0b0t1 <r030t1 at gmail.com> wrote:
> >>
> >> The full text is:
> >>
> >> ```
> >> Fatal Python error: Py_Initialize: unable to load the file system codec
> >> ModuleNotFoundError: No module named 'encodings'
> >>
> >> Current thread 0x00000e20 (most recent call first):
> >> ```
> >>
> >> I did some searching and briefly thought it may be an issue with
> >> Python for Windows but that does not seem the case - I am able to
> >> invoke the interpreter directly with no issue
> >> (https://bugs.python.org/issue27054).
> >>
>
> I apologize for the double post - I have no idea why that happened.
>
> Platform is Windows 10 x86_64.
> SCons version is 2.5.1, I installed using the executable from
> http://scons.org/pages/download.html.
> Python is version 3.6.1.
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20170509/ae0ad051/attachment.html>


More information about the Scons-users mailing list