What's the difference between /usr/lib/python and /usr/lib64/python?
<p>I was using ubuntu.</p>

<p>I found that many Python libraries installed went in both <code>/usr/lib/python</code> and <code>/usr/lib64/python</code>.</p>

<p>When I <code>print</code> a module object, the module path showed that the module lived in <code>/usr/lib/python</code>.</p>

<p>Why do we need the <code>/usr/lib64/python</code> directory then?
What's the difference between these two directories?</p>

<p><strong>BTW</strong></p>

<p>Some package management script and <code>egg-info</code> that lived in both directories are actually links to packages in <code>/usr/share</code>.</p>

<p>Most Python modules are just links, but the <code>so</code> files are not.</p>
