简体   繁体   中英

Is there a way to change the python max path length setting after installing in Windows 10?

I'm having an anaconda installing issues with being unable to find directories, and it seems it stems from Python for Windows having a max path length setting enabled on install. Is there a way for me to disable this setting after the fact?

Thanks!

Try running this as an administrator.

reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1

Are you aware of the incompatibility this setting may cause with older systems? I'm completely all for enabling long paths, just wanted to make sure you're aware of the side effects.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM