0

I used pip install -r requirements.txt, and got this error:

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

Full log: https://pastebin.com/aTTwyrML

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

This also seems to break other uses of pip install.

I can't find any pip issues or solutions to this anywhere.

EDIT: msgpack is being inmported from: '/usr/lib/python3.8/site-packages/msgpack/__init__.py'

Other packages that cause the error:

  • pytconf
R Harrington
  • 253
  • 2
  • 10

1 Answers1

2

You're running python version 3.8 and msgpack only supports up to 3.7. This might be causing a problem installing msgpack via pip or there's some breaking implementation in 3.8 that's not in 3.7 and under. I know I've run into some trouble with sharing projects between teams that are using 3.8 and teams that are using earlier verions.

msgpack on pypi.

Ollie in PGH
  • 2,559
  • 2
  • 16
  • 19