Eryk Sun <eryk...@gmail.com> added the comment:

Ensure that the system has LongPathsEnabled set to 1. For example, in 
PowerShell with administrator (elevated) access:

    PS C:\> $p = "HKLM:\System\CurrentControlSet\Control\Filesystem"
    PS C:\> get-itempropertyvalue $p LongPathsEnabled
    0

It was set to 0, so change it to 1:

    PS C:\> set-itemproperty $p LongPathsEnabled 1
    PS C:\> get-itempropertyvalue $p LongPathsEnabled
    1

Every new process initially checks this registry setting, so you don't have to 
logoff or reboot for it take effect.

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

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue45777>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to