PyEnv
Pyenv is an effective alternative to conda for managing python installations used by the ds-study-group repository. Install and use according to Real Python's tutorial intro-into-pyenv.
Note that /home/devops/src/ds-study-group/dstool.sh
contains the script function dstool-activate
which will enable your shell to work without editing your path by sourcing /home/devops/src/ds-study-group/ds-dev/bin/activate
.
Calling dstool-activate
tells the shell to use the python installation found in /home/devops/src/ds-study-group/ds-dev/
An activated shell looks like this: (ds-dev) devops@hostname >
Installation notes
curl https://pyenv.run | bash
💡
Ubuntu Dependencies:
apt-get install -y make build-essential libssl-dev zlib1g-dev
libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev
libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev python-openssl
apt-get install -y make build-essential libssl-dev zlib1g-dev
libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev
libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev python-openssl