Eittipat / pyrtmp

PyRTMP: Pure Python RTMP server
MIT License
90 stars 20 forks source link

ImportError: cannot import name 'tokenparser' from 'bitstring' #8

Closed imocat closed 11 months ago

imocat commented 1 year ago

hello,

i install the pyrtmp and use. the python response this message:

from bitstring import tokenparser, BitStream ImportError: cannot import name 'tokenparser' from 'bitstring'

how can i fixit?

and pyrtmp version "pyrtmp-0.2.0"

tks

Fede14it commented 1 year ago

Same error

Valdemayar commented 1 year ago

I guess you downloaded this with pip. This problem solved but hasn't released at PyPI yet.

Check out PR with solution https://github.com/Eittipat/pyrtmp/pull/7

CyanChanges commented 1 year ago

So when to upload

Minuhy commented 1 year ago

hello,you can use pip install bitstring==3.1.9 command to fix it

evra commented 11 months ago

hello,you can use pip install bitstring==3.1.9 command to fix it

after installing this version of bitstring the pyrtmp server stops at INFO:pyrtmp.messages:Handshake! and doesn't proceed

Python 3.11.6

Eittipat commented 11 months ago

@evra please update pyrtmp to 0.3.0