enable-pyenv () {
export PYENV_ROOT="/Users/samuel/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
}
alias pylist="pyenv install --list"
alias pyversions="pyenv versions"
alias pyvirtuals="pyenv virtualenvs"
alias pips="pip show"
mkdir python3.10env
cd python3.10env
python3.10 -m venv .
ls
bin include lib pyvenv.cfg
cd bin # python,pip commands
source activate
pip3 install jinja2
ls python3.10env/lib/python3.8/site-packages
Jinja2-3.1.2.dist-info
deactivate
pip3 install virtualenv
virtualenv myenvSam -p python3.10
source myenvSam/bin/activate
python -V
pip -V
ls myenvSam/lib/python3.10/site-packages/