在 windows 服务器中部署 python 定时任务流程
前提:外网访问权限
基础软件:安装 Anaconda
创建指定 python 运行环境:python 版本,conda create -n py37 python=3.7 (主要还是
TensorFlow 的历史版本没有更新到 python 历史版本)
激活:acvate py37
安装 project 路径下的 requirements.txt 中的模块
加速镜像:
[global]
index-url = h$ps://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host=mirrors.aliyun.com
在 window 中创建定时任务流程如下: