# check python installation which python # check python version python -V
pyenv
# Install pyenv curl https://pyenv.run | bash # Update pyenv pyenv update # view which python versions exist in local pyenv versions # list available versions for installation pyenv install -l # install specified version pyenv install 3.11.11 # set python version using pyenv pyenv global 3.11.11 # check python version python --version
# Homebrew brew install python ## In `.zshrc`, connect PATH export PATH="$(brew --prefix)/opt/python@3.11/libexec/bin:$PATH" # check python version python --version # command using specific version python3
PIP is a package installer for Python.
PIP
stands for# check pip version pip --version # use specific version pip3 # List installed packages pip list # View contents of `pipfile.lock` in pipenv pipenv lock -r
pip3 install -r requirements.txt