15

Possible Duplicate:
Does python have a package/module management system?

In ruby I can do something like

gem install my-cool-gem

How do I do this in python?

Community
  • 1
  • 1
zetafish
  • 1,914
  • 2
  • 15
  • 19

2 Answers2

20

You are looking for PyPi - the Python Package Index..

You do:

pip install package
Gareth Latty
  • 77,968
  • 15
  • 168
  • 174
5

If you have setuptools installed then you can use easy_install. Both obtain packages from PyPI I guess. pip is preferred over easy_install though.

Community
  • 1
  • 1
Arjun
  • 1,189
  • 1
  • 12
  • 24