update install.sh
This commit is contained in:
parent
40b8c60c68
commit
3d9cd0058f
16
install.sh
16
install.sh
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue