Mac/Linux installer now looks for pip3 in addition to pip.
This commit is contained in:
parent
885c71d207
commit
c5f8467dbf
1 changed files with 6 additions and 3 deletions
|
@ -72,8 +72,11 @@ fi
|
||||||
|
|
||||||
PIP=$(which pip)
|
PIP=$(which pip)
|
||||||
if [[ $? == 1 ]]; then
|
if [[ $? == 1 ]]; then
|
||||||
echo "Unable to find pip. Exiting."
|
PIP=$(which pip3)
|
||||||
exit 1
|
if [[ $? == 1 ]]; then
|
||||||
|
echo "Unable to find pip. Exiting."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
CURL=$(which curl)
|
CURL=$(which curl)
|
||||||
|
@ -114,7 +117,7 @@ rm -f *.bat
|
||||||
|
|
||||||
mv FoenixMgr-master FoenixMgr
|
mv FoenixMgr-master FoenixMgr
|
||||||
pushd FoenixMgr
|
pushd FoenixMgr
|
||||||
pip install -r requirements.txt
|
${PIP} install -r requirements.txt
|
||||||
popd
|
popd
|
||||||
|
|
||||||
echo "[DEFAULT]" > foenixmgr.ini
|
echo "[DEFAULT]" > foenixmgr.ini
|
||||||
|
|
Loading…
Add table
Reference in a new issue