ome / omero-figure

An OMERO.web app for creating Figures from images in OMERO
http://figure.openmicroscopy.org
GNU Affero General Public License v3.0
15 stars 30 forks source link

Installation guide for omero-figure "Enabling figure export" #462

Closed CamachoDejay closed 2 years ago

CamachoDejay commented 2 years ago

Hej,

I was fighting for some time with Enabling PDF export in omero-figure due to the installation of reportlab in my OMERO.server (Ubuntu 18.04). I have been following the guides OMERO.server and OMERO.web. Then I was installing omero-figure and when trying to run: $VENV_SERVER/bin/pip install reportlab I got the error: error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

It took me a bit of time to realize that first I had to install python3-dev via: apt-get install python3-dev This was suggested by @joshmoore in a related topic: Image.sc forum post and an old stackoverflow post

Perhaps it would be good to add this explicitly in the installation information?

All the best, Rafa

jburel commented 2 years ago

Thanks for your feedback This is tricky one since it is a web app that required installation steps in the server We will need to see how to slot that in the server installation guide.

jburel commented 2 years ago

@CamachoDejay you need to cap reportlab i.e. pip install "reportlab<3.6"

jburel commented 2 years ago

instruction updated

CamachoDejay commented 2 years ago

Thanks a lot. I will make sure to cap it as instructed.