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
  • 2,342
  • 4
  • 18
  • 19

2 Answers2

20

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

You do:

pip install package
Gareth Latty
  • 86,389
  • 17
  • 178
  • 183
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,259
  • 1
  • 13
  • 25