vs code 配置python django 环境

1.本机安装python

2.先不用虚拟环境了,直接全局安装了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

  • Configure the debugger through the Debug Activity Bar

  • Configure tests by running the Configure Tests command

  • debug 后直接run
  • 浏览器可以查看运行起来了

 

Logo

CSDN联合极客时间,共同打造面向开发者的精品内容学习社区,助力成长!

更多推荐