一般来说,我对 Micropython 还是很陌生,所以我不确定这是一个问题还是只是缺乏理解。
但是跑步的时候
sudo pip install micropython-umqtt.simple
我得到以下输出和错误消息:
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting micropython-umqtt.simple
Downloading
https://files.pythonhosted.org/packages/bd/cf/697e3418b2f44222b3e848078b1e33ee76aedca9b6c2430ca1b1aec1ce1d/micropython-umqtt.simple-1.3.4.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
IOError: [Errno 2] No such file or directory: '/tmp/pip-install-QXWgXH/micropython-umqtt.simple/setup.py
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-QXWgXH/micropython-umqtt.simple/
难道我做错了什么?任何方向都会有所帮助。
我的设置如下:
Developing on Raspbian GNU/Linux 10 (buster) installed on a RaspberryPi 3 B+
Developing for ESP8266
Detecting chip type... ESP8266
Chip is ESP8266EX
Manufacturer: 68
Device: 4016
Detected flash size: 4MB
树莓派上的软件版本:
pip 18.1
bitstring-3.1.7
ecdsa-0.17.0
esptool-3.1
reedsolo-1.5.4
setuptools-44.1.1
mpfshell-0.9.2
websocket-client-0.59.0
ESP8266 Micropython 固件上的固件:esp8266-20210618-v1.16