I wanted to run telegram bot on aapanel's python project manager, but something went wrong!
But something went wrong, here is the log!
Traceback (most recent call last):
File "/www/wwwroot/bot/app.py", line 1, in <module>
from pyrogram import Client, filters
ModuleNotFoundError: No module named 'pyrogram'
TgCrypto is missing! Pyrogram will work the same, but at a much slower speed. More info: https://docs.pyrogram.org/topics/speedups
I'm Alive Now!
Welcome to Pyrogram (version 2.0.106)
Pyrogram is free software and comes with ABSOLUTELY NO WARRANTY. Licensed
under the terms of the GNU Lesser General Public License v3.0 (LGPL-3.0).
Enter phone number or bot token: Traceback (most recent call last):
File "/www/wwwroot/bot/app.py", line 68, in <module>
bot.run()
File "/www/wwwroot/bot/bot_venv/lib/python3.7/site-packages/pyrogram/methods/utilities/run.py", line 84, in run
self.start()
File "/www/wwwroot/bot/bot_venv/lib/python3.7/site-packages/pyrogram/sync.py", line 66, in async_to_sync_wrap
return loop.run_until_complete(coroutine)
File "/www/server/panel/pyenv/lib/python3.7/asyncio/base_events.py", line 587, in run_until_complete
return future.result()
File "/www/wwwroot/bot/bot_venv/lib/python3.7/site-packages/pyrogram/methods/utilities/start.py", line 62, in start
await self.authorize()
File "/www/wwwroot/bot/bot_venv/lib/python3.7/site-packages/pyrogram/client.py", line 343, in authorize
value = await ainput("Enter phone number or bot token: ")
File "/www/wwwroot/bot/bot_venv/lib/python3.7/site-packages/pyrogram/utils.py", line 40, in ainput
return await asyncio.get_event_loop().run_in_executor(executor, func)
File "/www/server/panel/pyenv/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
EOFError: EOF when reading a line
TgCrypto is missing! Pyrogram will work the same, but at a much slower speed. More info: https://docs.pyrogram.org/topics/speedups
I'm Alive Now!
Welcome to Pyrogram (version 2.0.106)
Pyrogram is free software and comes with ABSOLUTELY NO WARRANTY. Licensed
under the terms of the GNU Lesser General Public License v3.0 (LGPL-3.0).
Enter phone number or bot token: Traceback (most recent call last):
File "/www/wwwroot/bot/app.py", line 68, in <module>
bot.run()
File "/www/wwwroot/bot/bot_venv/lib/python3.7/site-packages/pyrogram/methods/utilities/run.py", line 84, in run
self.start()
File "/www/wwwroot/bot/bot_venv/lib/python3.7/site-packages/pyrogram/sync.py", line 66, in async_to_sync_wrap
return loop.run_until_complete(coroutine)
File "/www/server/panel/pyenv/lib/python3.7/asyncio/base_events.py", line 587, in run_until_complete
return future.result()
File "/www/wwwroot/bot/bot_venv/lib/python3.7/site-packages/pyrogram/methods/utilities/start.py", line 62, in start
await self.authorize()
File "/www/wwwroot/bot/bot_venv/lib/python3.7/site-packages/pyrogram/client.py", line 343, in authorize
value = await ainput("Enter phone number or bot token: ")
File "/www/wwwroot/bot/bot_venv/lib/python3.7/site-packages/pyrogram/utils.py", line 40, in ainput
return await asyncio.get_event_loop().run_in_executor(executor, func)
File "/www/server/panel/pyenv/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
EOFError: EOF when reading a line