Use Python3 Scripts for Newer Operating Systems
This commit is contained in:
parent
2d8fe68344
commit
fb4acf472b
2 changed files with 4 additions and 0 deletions
|
@ -3398,6 +3398,8 @@ function installPipManuallyIfNeeded(){
|
||||||
aptgetInstall "python3-mysqldb"
|
aptgetInstall "python3-mysqldb"
|
||||||
aptgetInstall "python3-chardet"
|
aptgetInstall "python3-chardet"
|
||||||
aptgetInstall "python3-requests"
|
aptgetInstall "python3-requests"
|
||||||
|
|
||||||
|
ln -s "/usr/bin/python3" "/usr/bin/python"
|
||||||
else
|
else
|
||||||
aptgetInstall "python-pip"
|
aptgetInstall "python-pip"
|
||||||
|
|
||||||
|
|
|
@ -3060,6 +3060,8 @@ function installPipManuallyIfNeeded(){
|
||||||
aptgetInstall "python3-mysqldb"
|
aptgetInstall "python3-mysqldb"
|
||||||
aptgetInstall "python3-chardet"
|
aptgetInstall "python3-chardet"
|
||||||
aptgetInstall "python3-requests"
|
aptgetInstall "python3-requests"
|
||||||
|
|
||||||
|
ln -s "/usr/bin/python3" "/usr/bin/python"
|
||||||
else
|
else
|
||||||
aptgetInstall "python-pip"
|
aptgetInstall "python-pip"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue