如何使用 Anaconda 安装 apscheduler.schedulers?
How to install apscheduler.schedulers with Anaconda?
我正在使用 Python 3 & Anaconda, running on AWS
我有一个功能,我们称之为 my_task
,我想每天 运行 在 11am
和 11pm
。
def my_task():
print("Hey, task is running!");
我该怎么做?
我试过 this and this 但它们都不适合 Anaconda。
您链接到 here isn't, as you noted, in the main anaconda distribution but it is in the following conda channel 的答案中讨论的 apscheduler
包。这意味着您可以通过 conda install -c conda-forge apscheduler=3.3.1
安装并使用它。我会尝试使用它进行安装,然后按照其他 question/answer.
中讨论的过程进行操作
我正在使用 Python 3 & Anaconda, running on AWS
我有一个功能,我们称之为 my_task
,我想每天 运行 在 11am
和 11pm
。
def my_task():
print("Hey, task is running!");
我该怎么做?
我试过 this and this 但它们都不适合 Anaconda。
您链接到 here isn't, as you noted, in the main anaconda distribution but it is in the following conda channel 的答案中讨论的 apscheduler
包。这意味着您可以通过 conda install -c conda-forge apscheduler=3.3.1
安装并使用它。我会尝试使用它进行安装,然后按照其他 question/answer.