Created
May 30, 2015 06:58
-
-
Save melvincabatuan/db38308697faf6e24cb0 to your computer and use it in GitHub Desktop.
[SOLVED] Could not find platform independent libraries
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@cobalt tools]# yum install eog | |
Could not find platform independent libraries <prefix> | |
Could not find platform dependent libraries <exec_prefix> | |
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] | |
ImportError: No module named site | |
[root@cobalt tools]# echo $LD_LIBRARY_PATH | |
:/usr/local/lib:/usr/local/lib:/root/anaconda/lib/ | |
#make LD_LIBRARY_PATH blank | |
[root@cobalt tools]# export LD_LIBRARY_PATH='' | |
[root@cobalt tools]# echo $LD_LIBRARY_PATH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
yum clean all
Could not find platform independent libraries
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to [:<exec_prefix>]
'import site' failed; use -v for traceback
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
No module named yum
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
2.6.6 (r266:84292, May 1 2012, 13:52:17)
[GCC 4.4.6 20110731 (Red Hat 4.4.6-3)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq