I`m trying to use python3 with pyserial library on apalis T30 with linux Apalis_T30_LinuxImageV2.6_20160331 installed. I have installed python3 with commands:
opkg install python3 opkg install python3-modules
Because python3-pip is also unavailable I was also trying to install pyserial manually using commands:
wget https://bootstrap.pypa.io/get-pip.py python get-pip.py
and got error as bellow
Traceback (most recent call last): File "get-pip.py", line 24, in <module> import pkgutil File "/usr/lib/python3.4/pkgutil.py", line 3, in <module> from functools import singledispatch as simplegeneric File "/usr/lib/python3.4/functools.py", line 21, in <module> from collections import namedtuple File "/usr/lib/python3.4/collections/__init__.py", line 11, in <module> from operator import itemgetter as _itemgetter, eq as _eq ImportError: No module named 'operator'
What is the best way to include pyserial library into python3 under Apalis_T30_LinuxImageV2.6_20160331?