-
在Windows系统中安装Python及其相关第三方库,并配置VScode编程环境
资源介绍
# BatchInstall_full2.py
import os
libs = {"numpy", "matplotlib", "pillow", "sklearn", "requests", \
"jieba", "beautifulsoup4", "wheel", "networkx", "sympy", \
"pyinstaller", "django", "flask", "werobot", "pyqt5", \
"pandas", "pyopengl", "pypdf2", "docopt", "pygame", \
"yapf", "isort", "pylint", "pep8", "autopep8", \
"tensorflow", "virtualenv", "virtualenvwrapper"}
try:
for lib in libs:
os.system("pip install "+lib)
print("Successful")
except:
print("Failed Somehow")