如何在python中安装plyer库?我已经安装了plyer模块,但仍收到“无模块错误”

时间:2020-06-01 17:42:54

标签: python

from os.path import dirname, join
import plyer

import time
import datetime
import threading
def notify_me():
    while True:
        plyer.notification.notify(title="COVID 19 cases of INDIA",message=get_corona_detail_of_india(),timeout=10,app_icon='icon.ico')
        time.sleep(30)

我遇到错误 :没有名为plyer的模块

1 个答案:

答案 0 :(得分:0)

您可以运行此命令

python3 -m pip install plyer