命令“python setup.py egg_info”失败,错误代码为 1 对于 Micropython-umqtt

问题描述

总的来说,我对 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

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...