From: Peng Yu on 16 Jul 2010 22:36 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 -- Regards, Peng
From: Mark Lawrence on 17 Jul 2010 04:01 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
|
Pages: 1 Prev: timing Next: Sharing: member type deduction for member pointers (Alf's device?) |