Hi,
I am attempting to install the python library paho-mqtt. I am git cloning the library source and running setup per the library instructions.
The first error was not being able to import distutils.core. I resolved that by doing:
$opkg upgrade
$opkg update
$opkg install python-distutils
This resolves the import distutilis.core error but then I get this.
$python setup.py install
Traceback (most recent call last):
File “setup.py”, line 5, in <module>
from distutils.core import setup
File “/usr/lib/python2.7/distutils/core.py”, line 20, in <module>
from distutils.dist import Distribution
File “/usr/lib/python2.7/distutils/dist.py”, line 10, in <module>
from email import message_from_file
ImportError: No module named email
Any ideas?
-david
After posting I found http://www.multitech.net/developer/forums/topic/distutils-on-conduit-device/ which seems related. Should I have not used opkg to install? Thanks.