码迷,mamicode.com
首页 > 编程语言 > 详细

VScode Python 虚拟环境

时间:2019-10-19 18:50:05      阅读:78      评论:0      收藏:0      [点我收藏+]

标签:space   根据   file   解释器   workspace   设置   sele   ext   alt+   

  1. 安装python环境

  2. 在VScode里设置Python 虚拟环境查找路径(Settings -> Extensions -> Python Configurations -> Env file);

    "python.envFile": "${workspaceFolder}/venv" (此处修改为自己实际路径)

  3. Ctrl+Alt+P输入Python: select 时根据提示选择解释器;

VScode Python 虚拟环境

标签:space   根据   file   解释器   workspace   设置   sele   ext   alt+   

原文地址:https://www.cnblogs.com/li1234yun/p/9913558.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!