[8916] in athena10

home help back first fref pref prev next nref lref last post

Issue with /usr/athena/bin/python on cruella-de-vil

daemon@ATHENA.MIT.EDU (Tanya M Kortz)
Wed Apr 4 14:24:14 2012

Date: Wed, 4 Apr 2012 14:24:11 -0400 (EDT)
From: Tanya M Kortz <tkortz@MIT.EDU>
To: debathena@MIT.EDU
Message-ID: <alpine.DEB.2.02.1204041421480.23133@CRUELLA-DE-VIL.MIT.EDU>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII

On the OLC machine cruella-de-vil, there seems to be a discrepancy with 
/usr/athena/bin/python and /usr/bin/python, making commands that source 
/usr/athena/bin/python unable to work.  Here's a comparison:

%  /usr/bin/python -c 'import sys; print sys.version'
2.7.1+ (r271:86832, Apr 11 2011, 18:13:53)
[GCC 4.5.2]

%  /usr/athena/bin/python -c 'import sys; print sys.version'
Traceback (most recent call last):
   File "/usr/athena/lib/python2.7/site.py", line 562, in <module>
     main()
   File "/usr/athena/lib/python2.7/site.py", line 544, in main
     known_paths = addusersitepackages(known_paths)
   File "/usr/athena/lib/python2.7/site.py", line 271, in 
addusersitepackages
     user_site = getusersitepackages()
   File "/usr/athena/lib/python2.7/site.py", line 246, in 
getusersitepackages
     user_base = getuserbase() # this will also set USER_BASE
   File "/usr/athena/lib/python2.7/site.py", line 236, in getuserbase
     USER_BASE = get_config_var('userbase')
   File "/usr/athena/lib/python2.7/sysconfig.py", line 558, in 
get_config_var
     return get_config_vars().get(name)
   File "/usr/athena/lib/python2.7/sysconfig.py", line 457, in 
get_config_vars
     _init_posix(_CONFIG_VARS)
   File "/usr/athena/lib/python2.7/sysconfig.py", line 310, in _init_posix
     raise IOError(msg)
IOError: invalid Python installation: unable to open 
/usr/athena/local/lib/python2.7/config/Makefile (No such file or 
directory)

~Tanya

home help back first fref pref prev next nref lref last post