update install.sh

This commit is contained in:
Firstname Lastname 2019-12-18 22:55:34 +01:00
parent 40b8c60c68
commit 3d9cd0058f
1 changed files with 11 additions and 5 deletions

View File

@ -10,14 +10,20 @@
## deactivate current venv ## deactivate current venv
#source ./venv/bin/deactivate #source ./venv/bin/deactivate
# Export virtual environment # Clone from repo
git clone http://github.com/fabthegreat/ydl
# Enter in the newly created dir
cd ydl
# Create new venv # Create new venv
#virtualenv --python=/usr/bin/python<version of python> <path/to/new/virtualenv/> virtualenv --python=/usr/bin/python3 venv
# or
python3 -m venv venv # to be tested
#activate new venv #activate new venv
source ./venv/bin/activate # to be tested wit python3 -m venv source venv/bin/activate
# pip install # pip install
pip install -r requirements.txt pip install -r requirements.txt
# Optional
sudo apt-get install ffmpeg xterm