Apr-07-2020, 03:49 PM
The only reason should be that the module search path is different between the invocations. You could run python the different ways and have each print their search path.
import sys print('\n'.join(sys.path))Are they identical? Wildly different?