This error might have occurred since this system does not have Windows Long Path support enabled
【代码】This error might have occurred since this system does not have Windows Long Path support enabled。
·
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: 'C:\\Users\\pc\\AppData\\Local\\Temp\\pip-install-eegs40i8\\xformers_5db45bd8977049c78185f4bc8df8b147\\third_party/flash-attention/csrc/coHINT: This error might have occurred since this system does not have Windows Long Path support enabled. You can find information on how to enable this at https://pip.pypa.io/warnings/enable-long-paths
解决方式:在powershell以管理员身份运行如下代码
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force
更多推荐



所有评论(0)