Solving the no library called cairo-2 was found Error on Mac M1 with Pycairo
| November 23, 2024
Solving the no library called cairo-2 was found Error on Mac M1 with Pycairo
Table of Contents
Introduction
TL;DR
Use the following soft link soved my issue:
Enviornment
- python 3.12
- Mac M1 Chip, Sonoma 14.7.1
- Homebrew version 4.4.6
- pycairo 1.18.2
Detail
I encountered the following error:
I have no luck in solving the following error after using this solution possible because something do not work on my mac:
Look back to the error carefully , the error seems failing after searching several optional paths, so I choosed to soft link libcairo.dylib and the issue resolved!
References
Happy Coding!