Ask Your Question

gopikrishna's profile - activity

2017-11-17 13:28:55 -0500 asked a question python error


I tried to upgrade the python version from 2.6 to 2.7 using following commands


tar xJf Python-3.6.3.tar.xz

cd Python-3.6.3



make install

After this, I'm unable to use python ( 2.6 or 2.7 )

This is the following error I'm getting

]$ python

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