May 11, 2016

Python – Pip


You can find all my latest posts on medium.

To install python on centos:

$ yum install python-pip

Some useful commands:

$ pip list    # equivalent to: yum list aailable ...

$ pip show {packagename}  # equivalent to: yum info ....   

$ pip search {keyworld}   # equivalent to: yum search .... # equivalent to

In Ruby, we hae the bundler gem, in python you can achiee the same result by running:

$ pip freeze > requirements.txt
$ pip install -r requirements.txt