一、Anaconda环境安装

参考博客地址:https://blog.csdn.net/Gerald_Jones/article/details/121370247


二、VS Code安装

参考博客地址:https://blog.csdn.net/Gerald_Jones/article/details/121512837


三、搭建python和TensorFlow环境

1. VS Code搭建python环境

第一步:下载python插件

在这里插入图片描述

第二步:选择python解释器

在这里插入图片描述

输入python:select

在这里插入图片描述

选择anaconda环境中的python解释器路径

在这里插入图片描述

2. VS Code搭建python环境

添加conda系统变量

在这里插入图片描述
在这里插入图片描述

3. 重启vscode

重启电脑(屡试不成功,索性重启电脑

测试运行简单程序

在这里插入图片描述
在这里插入图片描述


大功告成!VS Code起飞

Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐