libpython2.7.so.1.0: cannot open shared object file: No such file or directory
Try to find file libpython2.7.so.1.0
:
locate libpython2.7.so.1.0
In my case, it show out put:
/opt/rh/python27/root/usr/lib64/libpython2.7.so.1.0
Then paste line /opt/rh/python27/root/usr/lib64
to file /etc/ld.so.conf
And run ldconfig
.It solved my problem. Goodluck!
For some reason these two have worked perfectly for me:
apt-get install libpython2.7sudo apt-get install libatlas3-base
I was having a similar issue while executing a 32 bits gdb binary on a 64 bits Linux:
arm-eabi-gdb: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
and I solved it by installing libpython2.7:i386
(note the :i386 suffix)