Installing pythonwhois

<< back to index
To install pythonwhois, you need to have pip installed. It's available on most distributions in a package named python-pip.
The pythonwhois package includes the pwhois tool.

Installing it from scratch

Code:
pip install pythonwhois
If you are using Python 2.6 and get an ImportError about OrderedDict, also do the following:
Code:
pip install ordereddict

Updating from a previous version

Make sure to read the upgrade notes before updating to a new major pythonwhois version!
Code:
pip install --upgrade pythonwhois