andrew-ld / webgram

stream telegram media
3 stars 4 forks source link

No module named #2

Open CarmenLexa opened 3 years ago

CarmenLexa commented 3 years ago

thanks for your input, but i have this problem

File "F:\ProyectoPython\webgram\webgram\tools.py", line 5, in
from pyrogram.api.functions.channels import GetMessages ModuleNotFoundError: No module named 'pyrogram.api'

CarmenLexa commented 3 years ago

I made changes to from pyrogram.raw now i have this other problem

Traceback (most recent call last): File "main.py", line 9, in server = webgram.BareServer () File "F: \ Python Project \ webgram \ webgram \ bare.py", line 58, in init session = pyrogram.session.Session ( File "C: \ Python38 \ lib \ site-packages \ pyrogram \ session \ session.py", line 97, in init self.auth_key_id = sha1 (auth_key) .digest () [- 8:] TypeError: object supporting the buffer API required

Trongbach commented 3 years ago

thanks for your input, but i have this problem

File "F:\ProyectoPython\webgram\webgram\tools.py", line 5, in from pyrogram.api.functions.channels import GetMessages ModuleNotFoundError: No module named 'pyrogram.api'

Can you run this now? I got same problem,

andrew-ld commented 3 years ago

@Trongbach the project Is unmanteined

all webgram features have been improved in the new software:

https://github.com/andrew-ld/smart-tv-telegram

however you probably have another version of pyrogram, install the version defined on the requiremets file and it should work even if I do not recommend continuing to use webgram