Hi Lars
Thanks for your reply.
pip has following code.
root@OpenWrt:~# cat /mnt/usb/usr/bin/pip
#!/usr/bin/python2.7
# EASY-INSTALL-ENTRY-SCRIPT: 'pip==1.5.6','console_scripts','pip'
__requires__ = 'pip==1.5.6'
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
Hello Phani,
Am Wed, 18 Apr 2018 18:14:28 -0500
schrieb Phani Siriki :
> root@OpenWrt:~# ldd /mnt/usb/usr/bin/pip
> -ash: /mnt/usb/usr/bin/pip: not found
> root@OpenWrt:~# ls -l /mnt/usb/usr/bin/pip
> -rwxr-xr-x1 root root 284 Sep 9 2015
Hi Lars
You are correct. There are some relocation errors, Could you give me some
pointers on how to resolve this?
root@Mesh-30:~# ldd /usr/bin/python
/lib/ld-uClibc.so.0 (0x55566000)
libpython2.7.so.1.0 => /mnt/usb/usr/lib/libpython2.7.so.1.0
(0x77c9e000)
libpthread.so.0
Hello Phani,
Am Wed, 14 Feb 2018 15:00:34 -0600
schrieb Phani Siriki :
> root@Mesh-30:~# python
> -ash: python: not found
I guess, this means that one of the libraries that the python binary is linked
against, is missing.
Maybe run "ldd /usr/bin/python" and check if all
Hi Lars
I am now facing problem with python on a different router. I have installed
python on USB stick and I could not execute it.
oot@Mesh-30:~# df -h
FilesystemSize Used Available Use% Mounted on
/dev/root 4.8M 4.8M 0 100% /rom
tmpfs
Hi Lars
Thank you for your reply.
Yes. "python -m pip" worked.
Best Regards
Phani
On Tue, Feb 6, 2018 at 5:50 PM, Lars Kruse wrote:
> Hello Phani,
>
>
> Am Tue, 6 Feb 2018 10:14:46 -0600
> schrieb Phani Siriki :
>
> > I am using chaos calmer build
Hello Phani,
Am Tue, 6 Feb 2018 10:14:46 -0600
schrieb Phani Siriki :
> I am using chaos calmer build and installed python on usb. When i tried to
> install python-pip, it gives me below error. However, pip is installed. But
> when I tried to run it, it says command not