How to install Senaite.lims 2.0.0rc2

Hi Guys,

I am trying to install Senaite Lims 2.0.0rc2 on Ubuntu 18.04 with python 3.7.5.
Once I add the egg to the buildout.cfg and run bin/buildout i am getting the following error:

error: Setup script exited with error: command ‘x86_64-linux-gnu-gcc’ failed with exit status 1
An error occurred when trying to install /home/senaite/buildout-cache/downloads/dist/ Look above this message for any errors that were output by easy_install.
Installing instance.
Getting distribution for ‘zopyx.txng3.ext==3.4.0’.

An internal error occurred due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
File “/home/senaite/senaitelims/lib/python3.7/site-packages/zc/buildout/”, line 2174, in main
getattr(buildout, command)(args)
File “/home/senaite/senaitelims/lib/python3.7/site-packages/zc/buildout/”, line 817, in install
installed_files = self[part]._call(recipe.install)
File “/home/senaite/senaitelims/lib/python3.7/site-packages/zc/buildout/”, line 1603, in _call
return f()
File “/home/senaite/buildout-cache/eggs/plone.recipe.zope2instance-6.5.1-py3.7.egg/plone/recipe/zope2instance/”, line 146, in install
File “/home/senaite/buildout-cache/eggs/plone.recipe.zope2instance-6.5.1-py3.7.egg/plone/recipe/zope2instance/”, line 830, in install_scripts
requirements, ws = self.egg.working_set([‘plone.recipe.zope2instance’])
File “/home/senaite/buildout-cache/eggs/zc.recipe.egg-2.0.7-py3.7.egg/zc/recipe/egg/”, line 87, in working_set
allow_unknown_extras=bool_option(buildout_section, ‘allow-unknown-extras’)
File “/home/senaite/buildout-cache/eggs/zc.recipe.egg-2.0.7-py3.7.egg/zc/recipe/egg/”, line 168, in _working_set
File “/home/senaite/senaitelims/lib/python3.7/site-packages/zc/buildout/”, line 957, in install
return installer.install(specs, working_set)
File “/home/senaite/senaitelims/lib/python3.7/site-packages/zc/buildout/”, line 730, in install
for dist in self._get_dist(req, ws):
File “/home/senaite/senaitelims/lib/python3.7/site-packages/zc/buildout/”, line 574, in _get_dist
dists = [_move_to_eggs_dir_and_compile(dist, self._dest)]
File “/home/senaite/senaitelims/lib/python3.7/site-packages/zc/buildout/”, line 1745, in _move_to_eggs_dir_and_compile
[tmp_loc] = glob.glob(os.path.join(tmp_dest, ‘*’))
ValueError: not enough values to unpack (expected 1, got 0)

I’ve already install these dependencies : build-essential python3.7-dev python3.7-tk python3.7-venv libssl-dev libxml2-dev libxslt1-dev libbz2-dev libjpeg62-dev libreadline-dev wv poppler-utils

Is there something that I missing? Can you help me?

SENAITE 2 does not run on Python 3 yet, you have to use Python 2.7

1 Like