Problem compiling O2 Python on SLC7

Hi,

dev branch O2 compilation fails on Python setuptools on SLC7
ERROR: No matching distribution found for setuptools==65.5.1
However this version doesn’t seem to be available:
pip3 install --upgrade setuptools
Requirement already satisfied: setuptools in /home/cortese/.local/lib/python3.6/site-packages (59.6.0)

Any suggestion? Thank you in advance,
Pietro

Hi Pietro,

aliBuild shouldn’t use the setuptools module from your system, as it creates its own Python virtual environment to install its modules.

As part of this procedure, aliBuild updates pip in its virtualenv, which should make recent versions of setuptools available.

In order to see what’s going wrong there, could you attach the full build log of the failing build? The error message from aliBuild tells you where to find the log file.

Thanks Timo,
indeed I was using --always-prefer-system option. By removing this the compilation is successful.
Ciao,
Pietro