On 17/07/2010 03:36, Peng Yu wrote:
My Python is installed in the following location.
~/utility/linux/opt/Python-2.6.5/
I then installed SCons (http://www.scons.org/) using the command
"python setup.py install", which install it at
~/utility/linux/opt/Python-2.6.5/lib/scons-2.0.0.final.0
sys.path doesn't have the above directory. I have to add it to my PYTHONPATH.
Would a python module usually be installed at the following location?
~/utility/linux/opt/Python-2.6.5/lib/python2.6
See the following for an explanation.
http://docs.python.org/release/2.6.5/library/site.html#module-site
HTH.
Mark Lawrence
--
http://mail.python.org/mailman/listinfo/python-list