<divclass="children"><h1>Installing pythonwhois</h1><divclass="text"><ahref="index.html"><<backtoindex</a></div><divclass="text">To install pythonwhois, you need to have <spanclass="fixed">pip</span> installed. It's available on most distributions in a package named <spanclass="fixed">python-pip</span>.</div><divclass="text">The pythonwhois package includes the <spanclass="fixed">pwhois</span> tool.</div><h2>Installing it from scratch</h2><h7>Code:</h7><preclass="code">pip install pythonwhois</pre><divclass="text">If you are using Python 2.6 and get an ImportError about <spanclass="fixed">OrderedDict</span>, also do the following:</div><h7>Code:</h7><preclass="code">pip install ordereddict</pre><h2>Updating from a previous version</h2><divclass="text">Make sure to read the <ahref="upgrade.html">upgrade notes</a> before updating to a new major pythonwhois version!</div><h7>Code:</h7><preclass="code">pip install --upgrade pythonwhois</pre></div>