Skip to content

Instantly share code, notes, and snippets.

@frankyonnetti
Last active February 17, 2021 00:31
Show Gist options
  • Select an option

  • Save frankyonnetti/b05130098ffd3cf50f6bcbe047683f31 to your computer and use it in GitHub Desktop.

Select an option

Save frankyonnetti/b05130098ffd3cf50f6bcbe047683f31 to your computer and use it in GitHub Desktop.
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment