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