Re: [OpenWrt-Users] Pip command found error even though pip is installed

2018-04-19 Thread Phani Siriki
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__':

Re: [OpenWrt-Users] Pip command found error even though pip is installed

2018-04-18 Thread Lars Kruse
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 /mnt/usb/usr/bin/pip another possible

Re: [OpenWrt-Users] Pip command found error even though pip is installed

2018-04-18 Thread Phani Siriki
Hi Lars Yes. I have adjusted the LA_LIBRARY_PATH as below. But still pip cant be found. root@OpenWrt:~# echo $LD_LIBRARY_PATH /mnt/usb/lib:/mnt/usb/usr/lib root@OpenWrt:~# root@OpenWrt:~# root@OpenWrt:~# ldd /mnt/usb/usr/bin/pip -ash: /mnt/usb/usr/bin/pip: not found root@OpenWrt:~# root@OpenWrt:~

Re: [OpenWrt-Users] Pip command found error even though pip is installed

2018-04-18 Thread Lars Kruse
Hi Phani, Am Wed, 18 Apr 2018 14:04:08 -0500 schrieb Phani Siriki : > root@OpenWrt:~# which pip > /mnt/usb/usr/bin/pip > root@OpenWrt:~# > root@OpenWrt:~# pip > -ash: pip: not found I guess, the lines above show the problem: the pip executable can be found, but its execution fails with "not fou

Re: [OpenWrt-Users] Pip command found error even though pip is installed

2018-04-18 Thread Phani Siriki
Hi Lars I am facing new problem while I try to use pip on a different router. I have installed python and python-pip on usb. python is working fine, but pip is not working now. root@OpenWrt:~# which python /mnt/usb/usr/bin/python root@OpenWrt:~# which pip /mnt/usb/usr/bin/pip root@OpenWrt:~# roo

Re: [OpenWrt-Users] Pip command found error even though pip is installed

2018-02-14 Thread Phani Siriki
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

Re: [OpenWrt-Users] Pip command found error even though pip is installed

2018-02-14 Thread Lars Kruse
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 referenced libraries exi

Re: [OpenWrt-Users] Pip command found error even though pip is installed

2018-02-14 Thread Phani Siriki
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

Re: [OpenWrt-Users] Pip command found error even though pip is installed

2018-02-06 Thread Phani Siriki
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 and installed python on usb. When i tried > t

Re: [OpenWrt-Users] Pip command found error even though pip is installed

2018-02-06 Thread Lars Kruse
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 found. Could some one hel

[OpenWrt-Users] Pip command found error even though pip is installed

2018-02-06 Thread Phani Siriki
Hi All 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 found. Could some one help me on this? *Version* *==* root@OpenWrt:~# cat /etc/openwrt_rele