Skip to content

ImportError: cannot import name 'InvalidDataError' from 'hyperframe.exceptions' #7

@lamhoangtung

Description

@lamhoangtung

@vuonghoainam reported a bug when install mlchain 0.1.7 and run with mlchain run

    from .h2 import H2Protocol
  File "/usr/local/lib/python3.7/site-packages/hypercorn/protocol/h2.py", line 4, in <module>
    import h2.connection
  File "/usr/local/lib/python3.7/site-packages/h2/connection.py", line 33, in <module>
    from .frame_buffer import FrameBuffer
  File "/usr/local/lib/python3.7/site-packages/h2/frame_buffer.py", line 9, in <module>
    from hyperframe.exceptions import InvalidFrameError, InvalidDataError
ImportError: cannot import name 'InvalidDataError' from 'hyperframe.exceptions' (/usr/local/lib/python3.7/site-packages/hyperframe/exceptions.py)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions