如何在python3中安装flask
5 回答

ABOUTYOU
TA贡献1812条经验 获得超5个赞
如果你的电脑是Windows而且安装了pip,则pip install flask
如果你的电脑是mac,没有卸载自带的python2.7,则直接使用pip3 install flask

拉风的咖菲猫
TA贡献1995条经验 获得超2个赞
看看本机pip安装了没有。 (推荐安装最新的3.5,自带pip)
如果安装了则在命令行内输入
1
pip install flask
如果没有。
首先安装easy_install下载地址:https://pypi.python.org/pypi/ez_setup解压,安装.
1
python ez_setup.py
安装好easy_install 之后 再安装pip下载地址:https://pypi.python.org/pypi/pip解压,安装.
1
python setup.py install
之后要安装的包就直接
1
pip install flask

守着星空守着你
TA贡献1799条经验 获得超8个赞
哪个Linux发行版啊?各个版本都有自家的程序管理工具啊,ubuntu可以试试命令行里输入sudo apt-get remove python,不过很多程序是依赖python的,卸载了会一并卸载掉。
添加回答
举报
0/150
提交
取消