一、虚拟环境的搭建
点击文件,新建项目
![](https://img-blog.csdnimg.cn/img_convert/1d3f165b5d480e415638c3dbd4c45d8f.png)
选择你想要安装的位置,点击使用此工具新建环境,最后选择所用的Python版本
![](https://img-blog.csdnimg.cn/img_convert/2b7207d199af36e43a012a08af52d603.png)
这样一个虚拟环境 就搭建好了
![](https://img-blog.csdnimg.cn/img_convert/dbdf0108740a6a33d5357f5fb7290c80.png)
二、真实环境的使用
点击文件,新建项目
![](https://img-blog.csdnimg.cn/img_convert/1dba62144e6d55686fb6940dd8ebc2a3.png)
选择要保存的位置,点击先前配置的解释器
![](https://img-blog.csdnimg.cn/img_convert/9803f51fa5e2033b1fc56401598aadf8.png)
点击添加解释器>添加本地解释器
![](https://img-blog.csdnimg.cn/img_convert/090eca51208585f3edb64f371d2dd8cf.png)
环境改为现有环境
![](https://img-blog.csdnimg.cn/img_convert/d6c6a335bc0377c976a2f5253d6e070d.png)
点击右边的...进入选择要用的Python解释器,点击确定
![](https://img-blog.csdnimg.cn/img_convert/5db72f8388b41465d84947d899c00e6b.png)
点击创建
![](https://img-blog.csdnimg.cn/img_convert/2741f2af99454356a241d7afeeaebca4.png)
这样你的真实环境就配置好了
![](https://img-blog.csdnimg.cn/img_convert/7dd9ad9addc2da037f602fc8641c89a2.png)
一、虚拟环境的搭建
点击文件,新建项目
选择你想要安装的位置,点击使用此工具新建环境,最后选择所用的Python版本
这样一个虚拟环境 就搭建好了
二、真实环境的使用
点击文件,新建项目
选择要保存的位置,点击先前配置的解释器
点击添加解释器>添加本地解释器
环境改为现有环境
点击右边的...进入选择要用的Python解释器,点击确定
点击创建
这样你的真实环境就配置好了