安装modu后出现“No module named”错误

2024-07-04 08:48:59 发布

您现在位置:Python中文网/ 问答频道 /正文

我已经用pip install pyTelegramBotAPI安装了pyTelegramBotAPI。我已经导入了telebot包来使用API。在

但当我想运行我的程序时,它说:没有名为“telebot”的模块。整个错误消息是:

(...file path...) Telegram Bot>CertificateBot.py
Traceback (most recent call last):
(...file path...) \CertificateBot.py", line 1, in <module>
import telebot

ModuleNotFoundError: No module named 'telebot'

我用的是Windows10。在


Tags: 模块installpippathpy程序api消息

热门问题