1. Ctrl+shift+p, 选择 python: Select Interpreter

2. 如果要在虚拟环境中运行python脚本,可以先source activate dl(虚拟环境名), pip install -r requirements.txt.

3.https://docs.python.org/3/tutorial/venv.html(用pip来管理python依赖库)