M1 Mac 16gb Installed controlnet but something was error:Warning: Failed to install svglib, some preprocessors may not work. #1270
Unanswered
chenjian27
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Installing sd-webui-controlnet requirement: svglib
Couldn't install sd-webui-controlnet requirement: svglib.
Command: "/Users/chenjianyin/stable-diffusion-webui/venv/bin/python3.10" -m pip install svglib --prefer-binary
Error code: 1
stdout: Looking in indexes: https://mirrors.aliyun.com/pypi/simple/
Collecting svglib
Using cached svglib-1.5.1-py3-none-any.whl
Collecting reportlab
Using cached https://mirrors.aliyun.com/pypi/packages/a2/31/ebd3d48525ddb71790e61cdb28621517d1c4a245feb87fb503384b103eb8/reportlab-4.0.0-py3-none-any.whl (1.9 MB)
Collecting tinycss2>=0.6.0
Using cached https://mirrors.aliyun.com/pypi/packages/da/99/fd23634d6962c2791fb8cb6ccae1f05dcbfc39bce36bba8b1c9a8d92eae8/tinycss2-1.2.1-py3-none-any.whl (21 kB)
Collecting lxml
Using cached lxml-4.9.2-cp310-cp310-macosx_10_9_universal2.whl
Collecting cssselect2>=0.2.0
Using cached https://mirrors.aliyun.com/pypi/packages/9d/3a/e39436efe51894243ff145a37c4f9a030839b97779ebcc4f13b3ba21c54e/cssselect2-0.7.0-py3-none-any.whl (15 kB)
Collecting webencodings
Using cached https://mirrors.aliyun.com/pypi/packages/f4/24/2a3e3df732393fed8b3ebf2ec078f05546de641fe1b667ee316ec1dcf3b7/webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
Collecting freetype-py<2.4,>=2.3.0
Using cached https://mirrors.aliyun.com/pypi/packages/95/ef/65ea003860dc95da1243f621fc3082254292ba0a3b9808ed3c935c19b555/freetype_py-2.3.0-py3-none-macosx_10_9_universal2.whl (1.7 MB)
Requirement already satisfied: pillow>=9.0.0 in ./venv/lib/python3.10/site-packages (from reportlab->svglib) (9.4.0)
Collecting rlPyCairo<1,>=0.2.0
Using cached https://mirrors.aliyun.com/pypi/packages/12/b7/a659c64433ae732fc9e372e79eeaf9fd29c9bc324a4e4101f2d3171086fa/rlPyCairo-0.2.0-py3-none-any.whl (10 kB)
Collecting pycairo>=1.20.0
Using cached https://mirrors.aliyun.com/pypi/packages/69/ca/9e9fa2e8be0876a9bbf046a1be7ee33e61d4fdfbd1fd25c76c1bdfddf8c4/pycairo-1.23.0.tar.gz (344 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Installing backend dependencies: started
Installing backend dependencies: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: pycairo
Building wheel for pycairo (pyproject.toml): started
Building wheel for pycairo (pyproject.toml): finished with status 'error'
Failed to build pycairo
stderr: error: subprocess-exited-with-error
× Building wheel for pycairo (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [12 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.9-universal2-cpython-310
creating build/lib.macosx-10.9-universal2-cpython-310/cairo
copying cairo/init.py -> build/lib.macosx-10.9-universal2-cpython-310/cairo
copying cairo/init.pyi -> build/lib.macosx-10.9-universal2-cpython-310/cairo
copying cairo/py.typed -> build/lib.macosx-10.9-universal2-cpython-310/cairo
running build_ext
'pkg-config' not found.
Command ['pkg-config', '--print-errors', '--exists', 'cairo >= 1.15.10']
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pycairo
ERROR: Could not build wheels for pycairo, which is required to install pyproject.toml-based projects
[notice] A new release of pip available: 22.2.1 -> 23.1.2
[notice] To update, run: pip install --upgrade pip
Warning: Failed to install svglib, some preprocessors may not work.
Beta Was this translation helpful? Give feedback.
All reactions