When running
python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"
I see that the lib is:
/usr/local/lib/python2.6/site-packages
BUT
when installing some software, it puts python packages under:
/usr/lib64/python2.6/site-packages/
When running the python code above that checks the version on each of the "python" files I see when I press "Tab" on the shell - all give the same python path.
I also tried to set the python path to the second - it didn't help. I used:
export PYTHONPATH=/usr/lib64/python2.6/site-packages/
Is there any good explanation for a package to be installed in the second one? Is there any way I can define python to look at the other path too (so it'll search for both for packages), if no good solution for the prev question?
Thanx!