frankyonnetti
2/1/2020 - 8:17 PM

#python

Python #python

Installed with Homebrew

dependencies for python: readline, sqlite, gdbm

Pip and setuptools have been installed. To update them

$ pip install --upgrade pip setuptools

You can install Python packages with

$ pip install <package>

make sure PATH is:

PATH="/usr/local/opt/python@2/bin:$PATH"

Using to control packages in dev environments

virtualenv

$ virtualenv ~/.python2

Packages will install into the site-package directory: /usr/local/lib/python2.7/site-packages

use to avoid errors: cd /tmp; sudo -H pip install --upgrade fabric