"main.py", line 10, in <module>
app.run()
File "C:\Users\Home\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pyrogram\methods\utilities\run.py", line 84, in run
self.start()
File "C:\Users\Home\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pyrogram\sync.py", line 66, in async_to_sync_wrap
return loop.run_until_complete(coroutine)
File "C:\Users\Home\AppData\Local\Programs\Python\Python37-32\lib\asyncio\base_events.py", line 579, in run_until_complete
return future.result()
File "C:\Users\Home\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pyrogram\methods\utilities\start.py", line 58, in start
is_authorized = await self.connect()
File "C:\Users\Home\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pyrogram\methods\auth\connect.py", line 40, in connect
await self.load_session()
File "C:\Users\Home\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pyrogram\client.py", line 575, in load_session
raise AttributeError("The API key is required for new authorizations. "
AttributeError: The API key is required for new authorizations. More info: https://docs.pyrogram.org/start/auth
Что делать?
ты туториал прочел?
Обсуждают сегодня