We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5b99f5 commit 63de824Copy full SHA for 63de824
Python/codecs.c
@@ -1526,7 +1526,7 @@ _PyCodec_InitRegistry(PyInterpreterState *interp)
1526
// search functions, so this is done after everything else is initialized.
1527
PyObject *mod = PyImport_ImportModule("encodings");
1528
if (mod == NULL) {
1529
- return PyStatus_Error("Failed to import encodings module");
+ return PyStatus_Error("Failed to import encodings module. Are you sure PYTHONHOME is correct?");
1530
}
1531
Py_DECREF(mod);
1532
0 commit comments