HomeAbout

PIP

What is it

PIP is a package installer for Python.

# check pip version pip --version # use specific version pip3 # List installed packages pip list # Install package pip3 install <package_name> # Check specific package pip show <package_name> # View contents of `pipfile.lock` in pipenv pipenv lock -r

Automating Installation through Scripting

# Install all packages from requirements.txt list pip install -r requirements.txt

You need to write the package name and versions yourself:

# requirements.txt package_name==1.1.1 openai==1.82.0 django-cors-headers==4.7.0 django==5.2.1
AboutContact