如何修复[WinError 206]文件名或扩展名太长错误?

Diy*_*jay 6 python installation package tensorflow oserror

我在安装 Tensorflow 对象检测 API 的设置时遇到此错误。如何修复这个错误?

Error: Could not install packages due to an OSError: [WinError 206] The filename or extension is too long: ```
Run Code Online (Sandbox Code Playgroud)

OMK*_*VAN 14

Error: Could not install packages due to an OSError: [WinError 206] The filename or extension is too long:

要修复 Windows 计算机上的此错误regedit,请导航到Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem并编辑LongPathsEnabled值并将其设置为从 0 到 1

  • 这非常有帮助。谢谢 (3认同)