Closed keesj closed 10 months ago
For docker.... something like this
RUN apt-get install ... python3-venv and then set
RUN python3 -m venv /opt/halenv
ENV PATH="/opt/halenv/bin:$PATH"
@keesj Thanks for reporting this issue. I am not sure why 'pip3 install' was put into the dependencies-setup-script since the Python modules listed in requirements.txt are available as ubuntu packages as well. Maybe the ubuntu packages where considered to be outdated at the time the decision was made? However, after I double-checked that the required python modules are on the installation list by now I removed the 'pip3 install' line from the ubuntu and docker setup branch.
Hello,
with more recent python and pip versions it is becoming harder and harder to execute pip install specially as root
As normal user currently (on a recent ubuntu) you either need to use venv after a apt install of python3-venv)
or configuring to bypass the configuration e.g.
cat ~/.config/pip/pip.conf
to accommodate for this I suggest removing the "sudo" part and documenting a local install in ~/opt
https://github.com/emsec/hal/blob/77614ece692a521883b488c6f6fbc566fbad21da/install_dependencies.sh#L82C10-L82C10