Skip to content

Commit

Permalink
Allow install as root on minimal attack surface OSes (Chia-Network#2871)
Browse files Browse the repository at this point in the history
pip is not accessible to root on many limited core OS distros. Launching explicitly via python resolves for all
  • Loading branch information
fiveangle authored Apr 27, 2021
1 parent c75b826 commit a2401cc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,12 @@ fi
# shellcheck disable=SC1091
. ./activate
# pip 20.x+ supports Linux binary wheels
pip install --upgrade pip
pip install wheel
python -m pip install --upgrade pip
python -m pip install wheel
#if [ "$INSTALL_PYTHON_VERSION" = "3.8" ]; then
# This remains in case there is a diversion of binary wheels
pip install --extra-index-url https://pypi.chia.net/simple/ miniupnpc==2.1
pip install -e . --extra-index-url https://pypi.chia.net/simple/
python -m pip install --extra-index-url https://pypi.chia.net/simple/ miniupnpc==2.1
python -m pip install -e . --extra-index-url https://pypi.chia.net/simple/

echo ""
echo "Chia blockchain install.sh complete."
Expand Down

0 comments on commit a2401cc

Please sign in to comment.