Python3.3 - Fatal Python Error: Py_initialize: Unable To Get The Locale Encoding
ImportError: No module named 'encodings' While the error is self explaining, I know the cause of the issue. The problem is that the platform is using colon in their path name so wh
Solution 1:
From the looks of the source code, there is no way to do this that I can see...
Py_SetPath
simply clears out any path that may have been set previously and then resets it to the string you give it with no real processing. That is what gets returned by Py_GetPath
and that's all there is to it I suppose.
One suggestion that might work is to create a symbolic link to the directory somewhere where there isn't a :
in the path name and use that instead ...
Post a Comment for "Python3.3 - Fatal Python Error: Py_initialize: Unable To Get The Locale Encoding"