Ned Deily <n...@python.org> added the comment:
Without more information, in particular, a reproducible test case, we can only speculate what might be going on. Suggest you try using some of the debugging tools Python includes, starting with invoking your virtualenv python with the -vv flag. As described here (https://docs.python.org/3/using/cmdline.html#id4) that should show what files are being searched when you attempt to do the failing import. You should also try looking at the results of invoking that python with -m test.pythoninfo and examining the values of sys.path and any PYTHON* environment variables. If the problem persists, copy the results here. Good luck! (Note that Python 2.7 has reached end-of-life and is no longer supported here.) ---------- versions: -Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40272> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com