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
Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐