Reputation: 2403
I am new to programming and Python and what's really bothering me is that on my Mac, I'm used to knowing exactly where everything is and what's in every folder, but doing things through the command line is very different, so I don't know where things like Python Packages are being installed to by default.
According to the Pypi site, the packages are installed here: /usr/local/lib/python2.3/site-packages'
However when I cd to /usr/local/lib/, all I see in this folder are 'wx-python unicode', which I'm guessing was an accident on my part because I forgot to activate my virtual environment when I installed it?
Why is nothing in my /lib/ folder?
Upvotes: 0
Views: 2244
Reputation: 7329
If you ever want to know where a module source file is located:
import some_module
print some_module.__file__
Upvotes: 1