Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named #2

Open
CarmenLexa opened this issue Oct 13, 2020 · 3 comments
Open

No module named #2

CarmenLexa opened this issue Oct 13, 2020 · 3 comments

Comments

@CarmenLexa
Copy link

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
Copy link
Author

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
Copy link

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
Copy link
Owner

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants