一、 注册账号
官网:https://www.pythonanywhere.com/
二、 将GitHub上的项目发送至PythonAnywhere
三、配置环境及运行
git clone https://github.com/chao-yuan-cy/flask.git
创建虚拟环境 virtualenv --python=python3.7 Flask_env **虚拟环境 source Flask_env/bin/activate 下载依赖 pip install -r requirements.txt 、
![](/i/l/?n=22&i=blog/1686808/202211/1686808-20221119030030366-120591862.png)
![](/i/l/?n=22&i=blog/1686808/202211/1686808-20221119025847444-849438009.png)
![](/i/l/?n=22&i=blog/1686808/202211/1686808-20221119025947166-1812446983.png)
![](/i/l/?n=22&i=blog/1686808/202211/1686808-20221119030351970-75051272.png)
![](/i/l/?n=22&i=blog/1686808/202211/1686808-20221119031242222-534438260.png)
![](/i/l/?n=22&i=blog/1686808/202211/1686808-20221119030845881-214993365.png)
@原文出处:https://www.freesion.com/article/9465449803/
标签:PythonAnywhere,www,Flas,部署,Flask,虚拟环境,https,com From: https://www.cnblogs.com/taotao0805/p/16905376.html