mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-19 09:50:19 +01:00
python 3.6 for first alternative
This commit is contained in:
parent
c218653b4c
commit
9cf3ebcb7e
@ -548,8 +548,9 @@ fi
|
|||||||
#
|
#
|
||||||
echo ""
|
echo ""
|
||||||
echo "*** LND API for Python ***"
|
echo "*** LND API for Python ***"
|
||||||
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2.7 2
|
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2.7 3
|
||||||
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.5 1
|
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.5 2
|
||||||
|
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.6 1
|
||||||
echo "to switch between python2/3: sudo update-alternatives --config python"
|
echo "to switch between python2/3: sudo update-alternatives --config python"
|
||||||
sudo apt-get -f -y install virtualenv
|
sudo apt-get -f -y install virtualenv
|
||||||
sudo -u admin bash -c "cd; virtualenv python-env-lnd; source /home/admin/python-env-lnd/bin/activate; pip install grpcio grpcio-tools googleapis-common-protos pathlib2"
|
sudo -u admin bash -c "cd; virtualenv python-env-lnd; source /home/admin/python-env-lnd/bin/activate; pip install grpcio grpcio-tools googleapis-common-protos pathlib2"
|
||||||
|
Loading…
Reference in New Issue
Block a user