Edinburgh-Genome-Foundry / blabel

:label: Python label/sticker PDF generation. HTML templates, built-in barcodes, qr codes, and other goodies
https://edinburgh-genome-foundry.github.io/blabel
MIT License
179 stars 38 forks source link

Cairo library module not loading #8

Closed RobbieS82 closed 2 years ago

RobbieS82 commented 3 years ago

missing_module

I get this after running the pip install on Windows 10 console (in administrator mode), and then trying to run the example code provided. Errors seem to indicate dependent libraries are not loading

veghp commented 3 years ago

Thanks for reporting this. EGF packages were developed and tested on Ubuntu (GNU/Linux) with Python 3.6.7. We will add a notice to the documentation about this, in the future. I installed blabel now into a new conda environment to test it, and it works well. Unfortunately, Windows is not supported. In most cases the packages work without problems on other OSs, but not always. Not sure where your instance was installed, but it is not recommended to use the operating system's Python. A better way is to create an environment (e.g. with Anaconda), and install into that. This may solve the problem according to this answer.

bbrendon commented 3 years ago

Its working for me on debian 10 with venv.

veghp commented 3 years ago

Thank you very much for the description and confirmation of this.