[issue39051] Python not working on Windows 10

Eryk Sun report at bugs.python.org
Sun Dec 15 08:26:33 EST 2019


Eryk Sun <eryksun at gmail.com> added the comment:

> * PYTHONPATH = 'C:\Developing\Python;C:\Developing\Python\Scripts;
> C:\Developing\Python\Lib;C:\Developing\Python\Lib\site-packages;
> C:\Developing\Python\DLLs;'

FYI, none of this should set here. For a standard configuration, the installation directory should never be in the PYTHONPATH environment variable -- including the standard library (Lib & DLLs), site-packages, and Scripts.

> I haven't tried reinstalling again since I didn't want to have to 
> reinstall all packages I currently have installed using 'pip'

The existing site-packages and Scripts directories should remain if you reinstall to "C:\Developing\Python". Either way, you don't really have a choice. The installation is broken.

----------
nosy: +eryksun

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39051>
_______________________________________


More information about the Python-bugs-list mailing list