/Library/Python/2.7/site-packages directory empty
<p>When I cd into the /Library/Python/2.7/site-packages directory, there is only a README file. Where are all the third-party modules I installed such as sklearn?</p>

<p>Probably you installed the packages for a different version of python, or you installed them locally (in your home dir, not system-wide).</p>

<p>Inside a Python shell, type this:</p>

<pre><code>import sklearn
print (sklearn.__file__)
</code></pre>

<p>That will tell you where the package is located.</p>

python