I have python 2.6.7 installed in my mac (/usr/local/bin/python). Previously, I installed python-twitter library. I follow these steps when I installed it:
- tar -xvf python-twitter-0.8.3.tar.gz
- cd python-twitter-0.8.3
- python setup.py build
- python setup.py install
But, right now, I want to modify the twitter.py file generated when I installed the module. I have tried to find it in python's site-packages directory, but I couldn't find it.
For your information, here is the PYTHONPATH:
/usr/local/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg
/usr/local/lib/python2.6/site-packages/oauth2-1.5.170-py2.6.egg
/usr/local/lib/python2.6/site-packages/simplejson-2.1.6-py2.6-macosx-10.4-x86_64.egg
/usr/local/lib/python2.6/site-packages/lxml-2.3-py2.6-macosx-10.4-x86_64.egg
/usr/local/lib/python2.6/site-packages/python_twitter-0.8.2-py2.6.egg
/usr/local/lib/python26.zip
/usr/local/lib/python2.6
/usr/local/lib/python2.6/plat-darwin
/usr/local/lib/python2.6/plat-mac
/usr/local/lib/python2.6/plat-mac/lib-scriptpackages
/usr/local/lib/python2.6/lib-tk
/usr/local/lib/python2.6/lib-old
/usr/local/lib/python2.6/lib-dynload
/Users/username/.local/lib/python2.6/site-packages
/usr/local/lib/python2.6/site-packages
I have used the 'locate' command to find it in all folders, but still couldn't find it.
Anyone know where to find the twitter.py file?
PYTHONPATH
? That would be sys.path in python. – Sauerbraten