Getting Started with Python in VS Code open in new window

  • vscode plugins: Python && Python Debugger

  • Ctrl+Shift+P, start typing the Python: Create Environment

  • Ctrl+Shift+P, start typing the Python: Select Interpreter

python 项目依赖文件导出open in new window

# 导出依赖
pip3 freeze >requirements.txt
# 安装依赖
pip3 install -r requirements.txt
Last Updated:
Contributors: zonglinlee