frescobaldi / python-poppler-qt5

Python binding to libpoppler-qt5
Other
42 stars 32 forks source link

sip: Poppler::LinkRendition is undefined #40

Closed sr1920 closed 1 year ago

sr1920 commented 4 years ago

I saw that there is a closed issue regarding this, but I am getting the following error when trying to install python-poppler-qt5 with pip (also when trying to compile it from the source files):

/usr/local/Cellar/sip/4.19.23/bin/sip -I /usr/local/share/sip -t POPPLER_V0_20_0 -c build/temp.macosx-10.15-x86_64-3.8 -b build/temp.macosx-10.15-x86_64-3.8/poppler-qt5.sbf -I /usr/local/share/sip/PyQt5 -n PyQt5.sip -t Qt_5_15_0 -t WS_MACX poppler-qt5.sip

sip: Poppler::LinkRendition is undefined

error: command '/usr/local/Cellar/sip/4.19.23/bin/sip' failed with exit status 1

It could be related to the previous issue but I am not sure. Any ideas about what could be wrong with my environment? I am doing this with MacOS. Pip version:

pip 20.1.1 from /usr/local/lib/python3.8/site-packages/pip (python 3.8)

ctlddey commented 3 years ago

the same

jeanas commented 1 year ago

This looks like the same problem as https://github.com/frescobaldi/python-poppler-qt5/issues/27. You're missing either pkg-config or poppler-qt5.