Start a new Python3 Environment in 10 sececond
If
pyenv
orvenv
is still hard to handle, could consider Miniconda. It helps you deploy and start a brand newPython
environment with just 3 lines of commands. Just changePYPATH
and have fun.
MacOS
PYPATH="$HOME/py3"
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh
bash ./miniconda.sh -b -p $PYPATH
## activate
export PATH=$PYPATH/bin:$PATH
Linux
PYPATH="$HOME/py3"
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
bash ./miniconda.sh -b -p $PYPATH
## activate
export PATH=$PYPATH/bin:$PATH
Disclaimer
- License under
CC BY-NC 4.0
- Copyright issue feedback
me#imzye.me
, replace # with @ - Not all the commands and scripts are tested in production environment, use at your own risk
- No privacy information is collected here