Hi guys. I really impressed with the features of AApanel.
I would like to run a telegram bot on my aapanel. the bot is python.
so I went to app store> python manger> add project> and added the project > everything well done.
I added bot name and bot token that I got from Botfather to my project,
but nothing happens.
I do not now where is the problem
the log:
Traceback (most recent call last):
File "/www/server/python_manager/sero22/sero22/main.py", line 7, in <module>
from telegram import *
ModuleNotFoundError: No module named 'telegram'
Traceback (most recent call last):
File "/www/server/python_manager/sero22/sero22/main.py", line 8, in <module>
from telegram.ext import *
ModuleNotFoundError: No module named 'telegram.ext'
Traceback (most recent call last):
File "/www/server/python_manager/sero22/sero22/main.py", line 8, in <module>
from telegram.ext import *
ModuleNotFoundError: No module named 'telegram.ext'
*** Starting uWSGI 2.0.21 (64bit) on [Mon Nov 28 02:52:05 2022] ***
compiled with version: 4.8.5 20150623 (Red Hat 4.8.5-44) on 25 November 2022 04:20:43
os: Linux-3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020
nodename: localhost
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 2
current working directory: /
detected binary path: /www/server/python_manager/sero22/sero22/ac39652da3789b39d119fd0365013d8c_venv/bin/uwsgi
setgid() to 1001
setuid() to 1001
chdir() to /www/server/python_manager/sero22/sero22
your processes number limit is 31190
your memory page size is 4096 bytes
detected max file descriptor number: 1024
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uWSGI http bound on 0.0.0.0:7800 fd 4
uwsgi socket 0 bound to TCP address 127.0.0.1:35610 (port auto-assigned) fd 3
Python version: 3.9.7 (default, Nov 25 2022, 04:38:18) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]
Python main interpreter initialized at 0x151c870
python threads support enabled
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 166752 bytes (162 KB) for 2 cores