Getting distribution for ‘ZODB3==3.10.5’.
In file included from src/BTrees/_OOBTree.c:32:
src/BTrees/BTreeModuleTemplate.c:15:10: fatal error: Python.h: No such file or directory
15 | #include “Python.h”
| ^~~~~~
compilation terminated.
error: Setup script exited with error: command ‘x86_64-linux-gnu-gcc’ failed with exit status 1
An error occurred when trying to install /tmp/tmp6auBruget_dist/ZODB3-3.10.5.tar.gz. Look above this message for any errors that were output by easy_install.
While:
Installing.
Getting section zeo.
Initializing section zeo.
Installing recipe plone.recipe.zeoserver.
Getting distribution for ‘ZODB3==3.10.5’.
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/…/site-packages/zc/buildout/buildout.py”, line 2174, in main
getattr(buildout, command)(args)
line 1324, in getitem
options._initialize()
self.initialize()
line 1438, in initialize
recipe_class = _install_and_load(reqs, ‘zc.buildout’, entry, buildout)
line 1388, in _install_and_load
allow_hosts=buildout._allow_hosts
File “/home/…t/venv/lib/python2.7/site-packages/zc/buildout/easy_install.py”, line 957, in install
return installer.install(specs, working_set)
dists = [_move_to_eggs_dir_and_compile(dist, self._dest)]
packages/zc/buildout/easy_install.py”, line 1745, in _move_to_eggs_dir_and_compile
[tmp_loc] = glob.glob(os.path.join(tmp_dest, ‘*’))
ValueError: need more than 0 values to unpack
Soluția: instaleaza python2-dev