Ionel Cristian Mărieș <contact at ionelmc.ro> added the comment: What module? That check should be done directly in the pth file. ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue33944> _______________________________________