我尝试在 mac os 上安装 stable-diffusion-webui,当我运行 ./web-ui.sh 时,出现此错误
OSError: [Errno 66] Directory not empty: '/private/var/folders/8h/x8kgqp2x2h3gryh9v7v9f8r00000gp/T/pip-install-r5hyfavd/basicsr_ec8eabc4b9e0466487ec10fcf881f174/.eggs/Cython-3.0.5-py3.10-macosx-10.9-universal2.egg/Cython-3.0.5.dist-info' -> '/private/var/folders/8h/x8kgqp2x2h3gryh9v7v9f8r00000gp/T/pip-install-r5hyfavd/basicsr_ec8eabc4b9e0466487ec10fcf881f174/.eggs/Cython-3.0.5-py3.10-macosx-10.9-universal2.egg/EGG-INFO'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> basicsr
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
[notice] A new release of pip available: 22.2.2 -> 23.3.1
[notice] To update, run: pip install --upgrade pip
我需要一些帮助。
我只是个新手,可能是basicsr包的问题,或者是目录不为空导致操作失败。
将 python 更新到版本 3.10.13 为我解决了这个问题。