Arduino Forum

Products => Arduino Yún => Topic started by: sunnests on Mar 03, 2015, 11:57 am

Title: Installation of "python pip" does not work
Post by: sunnests on Mar 03, 2015, 11:57 am
Code: [Select]

opkg update                 # updates the available packages list
opkg install distribute     # it contains the easy_install command line tool
opkg install python-openssl # adds ssl support to python


Just heer it works fin, bad then:

Code: [Select]
easy_install pip            # installs pip

i get thes messages:

Code: [Select]

root@Arduino:~# easy_install pip
Searching for pip
Reading http://pypi.python.org/simple/pip/
Download error on http://pypi.python.org/simple/pip/: [Errno -2] Name or service not known -- Some packages may not be found!
Reading http://pypi.python.org/simple/pip/
Download error on http://pypi.python.org/simple/pip/: [Errno -2] Name or service not known -- Some packages may not be found!
Couldn't find index page for 'pip' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
Download error on http://pypi.python.org/simple/: [Errno -2] Name or service not known -- Some packages may not be found!
No local packages or download links found for pip
error: Could not find suitable distribution for Requirement.parse('pip')

Who can help me? Found no such message with Google .... Latest firmware is installed ... maybe that is the problem
Thanks for the help
Title: Re: Installation of "python pip" does not work
Post by: sonnyyu on Mar 03, 2015, 07:38 pm
If following command work.

Code: [Select]
ping pypi.python.org


Code: [Select]
wget https://pypi.python.org/packages/source/p/pip/pip-6.0.8.tar.gz#md5=2332e6f97e75ded3bddde0ced01dbda3  --no-check-certificate
easy_install pip-6.0.8.tar.gz




Title: Re: Installation of "python pip" does not work
Post by: sunnests on Mar 03, 2015, 09:37 pm
When I enter this code on pc then it works fine.

On the Arduino Yun I get the following message:

Code: [Select]
ping: bad address 'pypi.python.org'

opkg update no problem! Why this address can not be resolved?
Title: Re: Installation of "python pip" does not work
Post by: sunnests on Mar 04, 2015, 06:29 pm
Problem solved:

Code: [Select]
VI /etc/config/network

add dns server to used netservice, in my case    'lan'

Code: [Select]
option 'dns' '8.8.8.8'

thanks to sonnyyu