user290247
user290247

Reputation:

How to install python modules and dependents easily?

Are there any easy installation tools like "perl -MCPAN -e shell;" to install python modules and its dependents???

Upvotes: 4

Views: 327

Answers (1)

Kimvais
Kimvais

Reputation: 39548

pip is the most up to date tool to do this: you use it by issuing the command pip install <packagename>

The "old" way of doing the same is to easy_install:

easy_install <packagename>

If you have easy_install already on your system, it is advisable to run easy_install pip to upgrade to pip

Both of these install packages from the Python Package Index (pypi) The package that provides the easy_install command is usually called python-setuptools (or something similar)

Upvotes: 6

Related Questions