Recently, I copied a python project from different place and got below issue:
I installed python on D:\python27
then I checked sys.path using below code:
import sys
sys.path
I got below ouput:
...
'C:\\Python27\\Lib',
'C:\\Python27\\DLLs',
I have no idea where python append the old trash python install path into sys.path. Share any idea will be appreciated. Thanks!
PS: I also checked the PYTHONPATH variable in registry table:
D:\Python27\Lib;D:\Python27\DLLs;D:\Python27\Lib\lib-tk