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_release DISTRIB_ID='OpenWrt' DISTRIB_RELEASE='Chaos Calmer' DISTRIB_REVISION='unknown' DISTRIB_CODENAME='chaos_calmer' DISTRIB_TARGET='ar71xx/generic' DISTRIB_DESCRIPTION='OpenWrt Chaos Calmer 15.05' DISTRIB_TAINTS='no-all' *Installing Python-pip* root@OpenWrt:~# opkg install -d usb python-pip Installing python-pip (1.5.6-1) to usb... Downloading http://archive.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages//python-pip_1.5.6-1_ar71xx.ipk . mv: can't rename 'easy-install.pth': No such file or directory mv: can't rename 'site.py': No such file or directory Configuring python-pip. grep: /usr/lib/opkg/info/python-pip.control: No such file or directory cat: can't open '/usr/lib/opkg/info/python-pip.list': No such file or directory root@OpenWrt:~# pi pidof ping ping6 pip pip2 pip2.7 pivot_root root@OpenWrt:~# pip -ash: pip: not found root@OpenWrt:~# which pip /usr/bin/pip root@OpenWrt:~# root@OpenWrt:~# ls -l /usr/bin/pip lrwxrwxrwx 1 root root 20 Feb 6 16:05 /usr/bin/pip -> /mnt/usb/usr/bin/pip *PATH:* export USB=/mnt/usb export PATH=$PATH:$USB/usr/bin:$USB/usr/sbin # This PATH is dependent on existing $PATH export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$USB/lib:$USB/usr/lib export PYTHONPATH=$PYTHONPATH:$USB/lib:$USB/usr/lib Best Regards Phani
_______________________________________________ openwrt-users mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
