标签:atp some pytho soup net djang cmd pre otl
#python第三方库自动安装脚本,需要在cmd中运行此脚本
#BatchInstall.py
import os
libs = {"numpy","matplotlib","pillow","sklearn","requests",\
"jieba","beautifulsoup4","wheel","networkx","sympy",\
"pyinstaller","django","flask","werobot","pyqt5",\
"pandas","pyopeng1","pypdf2","docopt","pygame"}
try:
for lib in libs:
os.system("pip3 install " + lib)
print("Successful")
except:
print("Failed Somehow")
标签:atp some pytho soup net djang cmd pre otl
原文地址:https://www.cnblogs.com/zhenshj/p/9049275.html