Skip to content

Instantly share code, notes, and snippets.

@AmaxJ
Created February 6, 2015 02:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AmaxJ/11df41b065a1e937ab38 to your computer and use it in GitHub Desktop.
Save AmaxJ/11df41b065a1e937ab38 to your computer and use it in GitHub Desktop.
Installing packages in python
If pip isn’t installed install pip by going to the command line and typing:
>>>sudo easy_install pip
#sudo stands for super user d.
Once pip is installed you can install packages by typing:
>>>sudo pip install <package name>
or
>>>pip install <package name>
ex:
>>>sudo pip install virtualenv
…downloading etc//
You can check which modules you have installed on your computer with the pip freeze command like so:
>>>pip freeze
and a list of installed modules will appear.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment