Go Down

Topic: How to install python-pip in Linino : Please advise. (Read 2077 times) previous topic - next topic

BREL

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

sonnyyu

#1
Jul 04, 2014, 03:43 am Last Edit: Jul 04, 2014, 03:46 am by sonnyyu Reason: 1
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


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.

BREL

Sonnyyu,

Thank you  Thank you Thank you

Yes - I could able to install Six as outlined.

I am truly grateful

Karma++ Karma++

Regards

BRE

federicofissore

For the record: also on Playground http://playground.arduino.cc/Hardware/Yun#installing_python_module

Go Up