In article <cfd71610-1e34-4fec-82b0-fac2d4e91...@googlegroups.com>,
 Ned Batchelder <n...@nedbatchelder.com> wrote:

> Just as you use "which python" to figure out what "python" was executing, 
> "which pip" will help you figure out what "pip" is running.

And along those lines, if you're unsure where you're importing a module 
from, you can examine the __file__ attribute to find out:

>>> import requests
>>> requests.__file__
'/home/songza/deploy/rel-2013-11-14d/python/local/lib/python2.7/site-pack
ages/requests/__init__.pyc'
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to