Reputation: 3741
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?
Upvotes: 1
Views: 2393
Reputation: 33351
Probably you installed the packages for a different version of python, or you installed them locally (in your home dir, not system-wide).
Inside a Python shell, type this:
import sklearn
print (sklearn.__file__)
That will tell you where the package is located.
Upvotes: 2