remove path forever

eryk sun eryksun at gmail.com
Thu Sep 7 07:34:47 EDT 2017


On Thu, Sep 7, 2017 at 1:39 AM, Andrej Viktorovich
<viktorovichandrej at 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.



More information about the Python-list mailing list