I did your sujestion and know I'm getting the error "ImportError: No module named pexpect" in two ways: Typing python sensortag_test.py 84:EB:18:6B:01:A6 or typing ./sensortag_test.py 84:EB:18:6B:01:A6. The pictures bellow show this.
Picture before to change the permissions:
Picture after change the permissions:
Picture command line:
As I did all steps described in the tutorial mentioned before, I thought all archives were in the right directory, but I can see this is not true.
There are some way to check if the pexpect is installed on my Edison?
Ps. The python sensortag_test.py is on this link (just to check).
Sorry but I'm a bit new in embedded linux.
1 of 1 people found this helpful
I doubt your Edison has pexpect installed since it does not come installed by default on Edison's standard image. So, the issue probably appears because you are missing it. Follow these steps to install it:
echo src/gz all http://repo.opkg.net/edison/repo/all > /etc/opkg/base-feeds.conf echo src/gz edison http://repo.opkg.net/edison/repo/edison >> /etc/opkg/base-feeds.conf echo src/gz core2-32 http://repo.opkg.net/edison/repo/core2-32 >> /etc/opkg/base-feeds.conf opkg update opkg install python-pip pip install pexpect
Let me know if any other issue appears after this.