Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2004

    Gnome System tools dont work

    Recently I have noticed that all my python files/libraries are present at 2 places /usr/lib/python2.3 and /usr/local/lib/python2.3
    Now I would rather have all at one place and change all references/environment_variables.
    The contents of the directories seemed 2 be the same (I checked all subfolders too).
    So I added PYTHONPATH and PYTHONHOME as /usr/local to .bash_profile and deleted /usr/lib/python2.3 directory.

    Now Starting any system python based program gives me this error :-
    File "/usr/lib/python2.3/site-packages/rhpl/", line 150, in updateCachedCatPaths
    encoding = locale.nl_langinfo (locale.CODESET)
    AttributeError: 'module' object has no attribute 'nl_langinfo'

    How do I resolve this problem .. cant access any system tool ... HELP !

  2. #2
    Linux Engineer
    Join Date
    Jul 2003
    Stockholm, Sweden
    did you check first to see if the duplicate files were infact only symlinks to the real libs? this seems to be more likly to me

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts