I am on Centos7. I have multiple Python versions (Totally newbie in python). One at my root inside folder name Python-2.6.6 which i installed following these steps :
wget https://www.python.org/ftp/python/2.6.6/Python-2.6.6.tgz
tar -zxvf Python-2.6.6.tgz
cd Python-2.6.6
sudo yum install gcc gcc-c++
make
make install
However there is also a Python folder at /usr/lib/python2.7/site-packages
Which i have no idea how got created .
Now i installed boto using
sudo yum -y install python-pip
sudo pip install boto
installation ended with comments Installing collected packages: boto Successfully installed boto-2.47.0
Now when i do python --version
, I do get Python 2.6.6
which is expected
which python : /usr/local/bin/python
but when i do import boto
i get
import boto
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named boto
WHY YOU NO IMPORT?Please help