Skip to content

Commit

Permalink
#378 #379 maybe this will solve the python problem?
Browse files Browse the repository at this point in the history
  • Loading branch information
ecwood committed Jun 25, 2024
1 parent 1ac92f3 commit 7c90932
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup-kg2-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ sudo -E add-apt-repository -y ppa:deadsnakes/ppa
sudo apt-get install -y python3.7 python3.7-dev python3.7-venv

# some shenanigans required in order to install pip into python3.7 (not into python3.6!)
curl -s -k https://bootstrap.pypa.io/get-pip.py -o /tmp/get-pip.py
curl -s -k https://bootstrap.pypa.io/pip/3.7/get-pip.py -o /tmp/get-pip.py
apt-get download python3-distutils
if [ -f python3-distutils_3.6.9-1~18.04_all.deb ]
then
Expand All @@ -129,7 +129,7 @@ fi
mv ${python3_distutils_filename} /tmp
sudo dpkg-deb -x /tmp/${python3_distutils_filename} /
cat /tmp/get-pip.py
# sudo -H python3.7 /tmp/get-pip.py 2>&1 | grep -v "WARNING: Running pip as the 'root' user"
sudo -H python3.7 /tmp/get-pip.py 2>&1 | grep -v "WARNING: Running pip as the 'root' user"

# ## create a virtualenv for building KG2
# python3.7 -m venv ${VENV_DIR}
Expand Down

0 comments on commit 7c90932

Please sign in to comment.