I'm trying to write a quick script on a server. The default python was 2.6 - I installed 2.7 along side because I needed it for mysql-connector
I got the program installed and I aliased it as mentioned here so the system defaults to it.
When I try and run rpm -ivh mysql-connector-python-2.1.6-1.el7.x86_64.rpm
from the command line to actually install the connector I get:
warning: mysql-connector-python-2.1.6-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
error: Failed dependencies:
python(abi) = 2.7 is needed by mysql-connector-python-2.1.6-1.el7.x86_64
[root@localhost ~]# key ID 5072e1f5: NOKEY
If I type python -V
it returns the 2.7 that I am expecting.
Where did I go wrong??