VScode Python 虚拟环境

  1. 安装python环境

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

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

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

猜你喜欢

转载自www.cnblogs.com/li1234yun/p/9913558.html