Quantcast
Channel: Request Help - OpenFlexure Forum
Viewing all articles
Browse latest Browse all 122

Is there a Openflexure mirror that comes with Python 3.9/64-bit architecture preconfigured?

$
0
0

Hi not sure if anyone has asked about this before but it’s been causing me a bit of a headache the last couple of days.

I am trying to write some python code which will use the cellpose package for image segmentation of some HeLa cells in brightfield. The hope is to use the microscope as a cell counter, and all code would ideally run on the Rpi itself, without having to run anything over SHH on another computer. However, cellpose is only compatible with Python 3.9+. I have tried using pyenv to create a venv with Python 3.9 on the Rpi, but this has caused me nothing but headaches for the last couple of days with stuff like ldd version mismatches.

As I cannot use miniforge on armhf, even installing cellpose on a Rpi running Python 3.9 would require compiling almost everything from source - including PyTorch, which would take an entire day. I thought I would try to simply install a rapbian mirror already running Python 3.9 or later, and then install OpenFlexureServe following the instructions on GitHub, however I didn’t have much luck and I’m assuming there must be some problem with compatability. Is there a simple way to make later versions of Python work on the OpenFlexure Rpi that I am simply unaware of, and have people found ways around it? Lastly, are there any plans to upgrade the mirror to one running later versions of python?

4 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 122

Trending Articles