aliBuild fails on Pyhton modules

I tried to aliBuild on ubuntu 20.04 LTS. and it gives the error while building Python modules. I have not been able to workaround it. I am attaching the log file.

ERROR: Error while executing /home/marooz/alice/sw/SPECS/ubuntu2004_x86-64/Python-modules/1.0-1/ on `ohboy’.
ERROR: Log can be found in /home/marooz/alice/sw/BUILD/Python-modules-latest/log
ERROR: Please upload it to CERNBox/Dropbox if you intend to request support.
ERROR: Build directory is /home/marooz/alice/sw/BUILD/Python-modules-latest/Python-modules.


Have you tried the suggestion in the log?

The virtual environment was not created successfully because ensurepip is not
available.  On Debian/Ubuntu systems, you need to install the python3-venv
package using the following command.

    apt-get install python3-venv

You may need to use sudo with that command.  After installing the python3-venv
package, recreate your virtual environment.

1 Like