Created
July 16, 2023 08:32
-
-
Save Peelz/a2e39597e6baf3c174ff279f2fc57525 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
sudo apt update; sudo apt install build-essential libssl-dev zlib1g-dev \ | |
libbz2-dev libreadline-dev libsqlite3-dev curl \ | |
libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev | |
curl https://pyenv.run | bash | |
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc | |
echo 'command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc | |
echo 'eval "$(pyenv init -)"' >> ~/.bashrc | |
source ~/.bashrc | |
pyenv install 3.7 | |
pyenv global 3.7 | |
python -m venv env1 | |
source ./evn1/bin/activate | |
pip3 install -r requirements.txt; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment