2 Star 3 Fork 1

ning/python3-django2-study

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
libsinstall.py 363 Bytes
一键复制 编辑 原始数据 按行查看 历史
ning 提交于 2019-03-08 22:59 +08:00 . init
import os
# 添加需要安装的扩展包名称进去
libs = {"xlrd", "jieba", "numpy", "WordCloud", "Counter", "render", "django", "mysqlclient"}
try:
for lib in libs:
os.system("pip install " + lib)
print("{} Install successful ~ ~ ~".format(lib))
except:
print("{} failed install".format(lib))
os.system("pip install --user" + lib)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/mrning001/python3-django2-study.git
git@gitee.com:mrning001/python3-django2-study.git
mrning001
python3-django2-study
python3-django2-study
master

搜索帮助