Hello. I am trying to install the Python requests library on the YUN 2. Here is what I have tried so far and the errors I am dealing with:
- Official Python Module Install Procedure:
Arduino Playground - HomePage
Issue: When I enter "opkg install distribute" I receive the error: unknown package 'distribute'
- Install without pip
python - How to manually install a pypi module without pip/easy_install? - Stack Overflow
Issue: Running setup.py : when I move the git repository over to the YUN and try to run this file with "python setup.py", I get error "No module named setuptools"
- Install pip manually from file
Python 2.7: No module named setup tools - Stack Overflow
Issue: Fails with Memory error
- Increase YUN 2 storage with MicroSD card (in case we run out of storage running the pip install?)
https://www.arduino.cc/en/Tutorial/ExpandingYunDiskSpace
Issue: Script fails with FAT32 formatting error
- Update YUN 2 openwrt installation (the advanced way with the executable)
Yun 17.11 Reboot prerelease - Arduino Yún - Arduino Forum
Issue: The windows binary fails after update the bootloader
- Manually update the YUN 2 (the manual way using the github's files instead of stock)
https://www.arduino.cc/en/Tutorial/YunUBootReflash
GitHub - arduino/yun-go-updater
Flash was successful (I think)
- Try steps 1-3 again
Issue: the same nonsense as before, just with more lost time
- Increase YUN storage by 1 GB using the github script instead of the official one
Success
- Try steps 1-3 yet again
Issue: same as before, except even more lost time and now I'm also hungry for lunch.
So after all of this, can someone please tell me how to install the requests library using a method I have not already attempted?
Thanks in advance.