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 when I set the path using:
Py_SetPath("the/path/with:colon/");
And then call:
Py_Initialize();
It fails to find the required modules to import. So, my question is: Is there any way to workaround without renaming the path (which I'm not controlling)? Can I somehow escape the colons?
Thanks!