HomeToolsAbout a20k

Configuration and Setup

Installation

For Apple silicon to use brewed Python

# Homebrew brew install python

In .zshrc, connect PATH

export PATH="$(brew --prefix)/opt/python@3.11/libexec/bin:$PATH"

Check installation and versions

# check python version python --version # command using specific version python3

pip

Package installer for Python

# check pip version pip --version # use specific version pip3

Commands

# List installed packages pip list # View contents of `pipfile.lock` in pipenv pipenv lock -r

Automating Installation through Scripting

pip3 install -r requirements.txt
© VincentVanKoh