Help with Pyrogram


#1

Im trying to do a user bot for Telegram with Pyrogram

Pyrogram installation

I installed pyrogram with a requirements.txt, but when I tried to install the TgCrypto requirement (Is faster than default) i couldnt do it.

Also tried pip3 install --upgrade pyrogram[fast] but i dont have permissions and can’t use Sudo.

This is what is printed on console.

TgCrypto is missing! Pyrogram will work the same, but at a much slower speed. More info: https://docs.pyrogram.ml/resources/TgCrypto

Any ideas for it? Im pretty new with Glitch :frowning:

Thanks ^^


#2

Hey @Zoilken, welcome to the Glitch Forums!

I didn’t dig too deeply, but I was able to install both TgCrypto and pyrogram using the --user option as is suggested in the pip3 install error message:

Consider using the '--user' option or check the permissions.

so

pip3 install --upgrade --user tgcrypto
pip3 install --upgrade --user pyrogram[fast]

seemed to be successful (although I didn’t try to actually use them).

Does that work for you?