Bruno Cippitelli
Bruno Cippitelli
RRailway
Created by Bruno Cippitelli on 12/16/2023 in #✋|help
Pycairo error on deploy
Hi. I new on discord so I hope I am in the right place to put this question. I got an deploy error (on railway) for my python-django project. I am also using xhtml2pdf which seams to include pycairo. After adding xhtml2pdf I got this error when trying to deploy. some of the the log: #10 15.75 ╰─> [15 lines of output] #10 15.75 running bdist_wheel #10 15.75 running build #10 15.75 running build_py #10 15.75 creating build #10 15.75 creating build/lib.linux-x86_64-cpython-38 #10 15.75 creating build/lib.linux-x86_64-cpython-38/cairo #10 15.75 copying cairo/init.py -> build/lib.linux-x86_64-cpython-38/cairo #10 15.75 copying cairo/init.pyi -> build/lib.linux-x86_64-cpython-38/cairo #10 15.75 copying cairo/py.typed -> build/lib.linux-x86_64-cpython-38/cairo #10 15.75 running build_ext #10 15.75 Package cairo was not found in the pkg-config search path. #10 15.75 Perhaps you should add the directory containing `cairo.pc' #10 15.75 to the PKG_CONFIG_PATH environment variable #10 15.75 No package 'cairo' found #10 15.75 Command '['pkg-config', '--print-errors', '--exists', 'cairo >= 1.15.10']' returned non-zero exit status 1. #10 15.75 [end of output] I will apreciat any suggest to solve this problem. I will love to be able to deploy this proyect. On my computer (windows) ir run perfectly. I include a complete log. Thanks in advance, Bruno
13 replies