我输入以下命令在我的 beaglebone black 上安装 pyserial - rev C with angstrom OS:
pip install pyserial
我收到以下错误消息:
Downloading/unpacking pyserial
Running setup.py egg_info for package pyserial
Traceback (most recent call last):
File "<string>", line 16, in <module>
File "/tmp/pip-build-root/pyserial/setup.py", line 23, in <module>
import serial
File "serial/__init__.py", line 10, in <module>
import importlib
ImportError: No module named importlib
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 16, in <module>
File "/tmp/pip-build-root/pyserial/setup.py", line 23, in <module>
import serial
File "serial/__init__.py", line 10, in <module>
import importlib
ImportError: No module named importlib
----------------------------------------
Command python setup.py egg_info failed with error code 1 in /tmp/pip-build-root/pyserial
Storing complete log in /home/root/.pip/pip.log
请问我该如何解决这个问题。