vs code 配置python django 环境

1.本机安装python

vs code 配置python django 环境

2.先不用虚拟环境了,直接全局安装了django

vs code 配置python django 环境

3.vs code 安装python 扩展

 https://marketplace.visualstudio.com/items?itemName=ms-python.python

Quick start

Set up your environment

  • Select your Python interpreter by clicking on the status bar

    vs code 配置python django 环境
  • Configure the debugger through the Debug Activity Bar

    vs code 配置python django 环境
  • Configure tests by running the Configure Tests command

    vs code 配置python django 环境
  • debug 后直接runvs code 配置python django 环境
  • 浏览器可以查看运行起来了vs code 配置python django 环境

 

相关文章: