system
December 13, 2014, 12:01am
1
Hey guys I'm trying to do this project on my Arduino Yun Smart Remote Control - Make:
I get all the way to Step 5 but then I get this error:
Traceback (most recent call last): File "mnt/sda1/arduino/www/SmartRemoteControl/servery.py", line 4, in from flask import *
ImportError: No module named flask
I've tried re running the steps with no luck. Please help!
sonnyyu
December 13, 2014, 7:25pm
2
Step #2: Install Software Dependencies
pip install --target /mnt/sda1/python-packages flask
system
December 13, 2014, 8:04pm
3
I've done that step multiple times. I've even wiped the SD card and tried it again.
sonnyyu
December 13, 2014, 10:51pm
4
Restoring Arduino Yun to Factory Defaults ( backup your own data)
http://forum.arduino.cc/index.php?topic=227127.msg1642143#msg1642143
How to expand the Yún disk space
Instead of run
mkdir /mnt/sda1/python-packages
pip install --target /mnt/sda1/python-packages flask
echo "export PYTHONPATH=/mnt/sda1/python-packages" >> /etc/profile
Run this only
pip install flask
sonnyyu
December 13, 2014, 10:58pm
5
Plan B Bypass arduino completely:
http://h-wrt.com/en/doc/ik