安装要求时出现pip msgpack错误

我使用了pip install -r requirements.txt,并收到了以下错误消息:

AttributeError: module 'msgpack' has no attribute 'dumps'

完整日志:https://pastebin.com/aTTwyrML

requirements.txt:https://github.com/poljar/weechat-matrix/blob/master/requirements.txt

这似乎也破坏了pip install的其他用途。

我在任何地方都找不到pip的问题或解决方案。

编辑:msgpack正在导入:'/usr/lib/python3.8/site-packages/msgpack/__init__.py'

其他导致错误的软件包:

  • pytconf
s12345a 回答:安装要求时出现pip msgpack错误

您正在运行python 3.8版,而msgpack仅支持3.7版。这可能会导致通过pip安装msgpack出现问题,或者3.8中有一些突破性的实现,而3.7及以下版本中没有。我知道在使用3.8的团队和使用早期版本的团队之间共享项目时遇到了麻烦。

msgpack on pypi

本文链接:https://www.f2er.com/2437591.html

大家都在问