【文件属性】:
文件名称:Windows下安装Python及其第三方库与VScode编程环境
文件大小:4.67MB
文件格式:PDF
更新时间:2021-07-13 10:09:52
Python开发 VSCode IDE 环境配置
# 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")
网友评论
- 其实没用上,最终还是用的idle