Arduino Forum

Products => Arduino Yún => Topic started by: BREL on Jul 03, 2014, 09:29 pm

Title: How to install python-pip in Linino : Please advise.
Post by: BREL on Jul 03, 2014, 09:29 pm
All,

I need to install python module six which comes in these two files:

1. six-1.7.3-py2.py3-none-any.whl
2. six-1.7.3.tar.gz

I am not sure how to install using wheel file. What Package/steps I need to install in Linino to install these files. Any pointers to documentation is sincerely appreciate.

Sorry. I am not Python guy. If this seems obvious question.

Thanking you in advance.

Regards
BRE
Title: Re: How to install python-pip in Linino : Please advise.
Post by: sonnyyu on Jul 04, 2014, 03:43 am
1. Install pip:

Code: [Select]
opkg update
opkg install python-openssl #adds ssl support to python
opkg install distribute #it contains the easy_install command line tool (this can take some time)
easy_install pip #installs pip  (this can take some time)
...

http://forum.arduino.cc/index.php?topic=211392.msg1613270#msg1613270 (http://forum.arduino.cc/index.php?topic=211392.msg1613270#msg1613270)


2. Use pip install six:

Code: [Select]
pip search six
pip install six


3. Test if six is working:

Code: [Select]
root@Arduino:~# python
Python 2.7.3 (default, Jun 20 2014, 00:39:05)
[GCC 4.6.3 20120201 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import six
>>>


if no error then six is working, exit  by Ctrl+D.
Title: Re: How to install python-pip in Linino : Please advise.
Post by: BREL on Jul 07, 2014, 08:43 pm
Sonnyyu,

Thank you  Thank you Thank you

Yes - I could able to install Six as outlined.

I am truly grateful

Karma++ Karma++

Regards

BRE
Title: Re: How to install python-pip in Linino : Please advise.
Post by: federicofissore on Jul 08, 2014, 09:55 am
For the record: also on Playground http://playground.arduino.cc/Hardware/Yun#installing_python_module