mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
container: Force pip to install packages to system environment
Without the change, pip refuses to install into system environment due to changes outlined in PEP 668. The following error is thrown: 'error: externally-managed-environment'. Signed-off-by: Veiko Aasa <veiko17@disroot.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
42879bbcb1
commit
9c0e339daf
@ -8,7 +8,7 @@ sudo apt-get install -yq --no-install-recommends \
|
||||
python3-pip python3-wheel firefox-esr git smbclient
|
||||
|
||||
# Use compatible versions of Splinter and Selenium
|
||||
pip3 install --user selenium==4.2.0 splinter==0.17.0 pytest-splinter pytest-reporter-html1
|
||||
pip3 install --user --break-system-packages selenium==4.2.0 splinter==0.17.0 pytest-splinter pytest-reporter-html1
|
||||
|
||||
echo "Installing geckodriver"
|
||||
(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user