No module named senaite

I’m trying to work with the senaite api, but everytime I type “import senaite” python returns no module naimed senaite. I’ve installed Senaite from this link: Installation · SENAITE for ubuntu.I also added senaite.api in the eggs section on install. I feel like I’ve missed a step. Any help would be appreciated.

Hi @pelican_larry,

The repository senaite.api is archived: GitHub - senaite/senaite.api: SENAITE API is the Swiss-Army-Knife for SENAITE Core and Add-on developers

We have it integrated in the core, but it is still located in the ancient bika namespace.
Therefore, you need to import from bika.lims import api.

Also look at the docs for more insights how to use the API:


1 Like