On 2017-09-07 16:25, Andrej Viktorovich wrote: > On Thursday, 7 September 2017 14:35:58 UTC+3, eryk sun wrote: >> On Thu, Sep 7, 2017 at 1:39 AM, Andrej Viktorovich >> <viktorovichand...@gmail.com> wrote: >>> >>> I have 64 bit python on my windows 10 machine. Install contains 32 bit >>> python libs in path >>> and I would like to remove them. >>> >>> I do >>> imprt sys >>> sys.path.remove("C:\\Users\\me\\AppData\\Local\\Programs\\Python\\Python36-32") >>> >>> It works for current python instance, but paths appears in new one. How to >>> remove paths forever? >> >> Probably you have the Python36-32 directories set in PYTHONPATH. For >> some reason some people think they need to add standard directories to >> this environment variable, which is something you should never do. > > Yes, my PYTHONPATH looks like: > C:\Users\me\AppData\Local\Programs\Python\Python36-32 > C:\Users\me\AppData\Local\Programs\Python\Python36-32\DLLs > C:\Users\me\AppData\Local\Programs\Python\Python36-32\Lib > > Should I remove them? I suppose installer did so. But why 64 bit installer > skiped this?
Remove them and then check that your 32-bit python installation still works. -- Thomas -- https://mail.python.org/mailman/listinfo/python-list