我正在使用Telebot为Telegram制作一个python机器人
bot = telebot.TeleBot('TokenHere')
apihelper.proxy = {'https': 'socks5://user:password@127.0.0.1:1080'}
@bot.message_handler(commands=['start', 'help'])
def send_welcome(message):
bot.reply_to(message, "Hello?")我安装了最新版本: gunicorn,PySocks,pyTelegramBotAPI,requests和urllib3
仍然收到错误:
AssertionError: Not supported proxy scheme socks5Proxy工作正常,我用另一个机器人检查过了。
发布于 2020-06-17 16:34:46
刚刚通过yum删除了python-request,并通过pip安装
https://stackoverflow.com/questions/62261419
复制相似问题