Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Use Virtualenv by Bruce Merry

Pycon ZA
October 06, 2016

Use Virtualenv by Bruce Merry

Lightning Talk

Pycon ZA

October 06, 2016
Tweet

More Decks by Pycon ZA

Other Decks in Programming

Transcript

  1. Virtualenv Do not do this: 1 sudo pip install -U

    numpy Bruce Merry Use Virtualenv PyConZA 2016 1 / 1
  2. Virtualenv Do not do this: 1 sudo pip install -U

    numpy https://xkcd.com/292 Bruce Merry Use Virtualenv PyConZA 2016 1 / 1
  3. Virtualenv Do not do this: 1 sudo pip install -U

    numpy Do this instead: 1 virtualenv ~/ve 2 . ~/ve/bin/activate 3 pip install -U pip setuptools wheel # optional 4 pip install numpy Bruce Merry Use Virtualenv PyConZA 2016 1 / 1