代码编织梦想

报错类似如下:

Pychram直接install不成功

ERROR: Could not find a version that satisfies the requirement torch (from versions: none) ERROR: No matching distribution found for torch

ERROR: Could not find a version that satisfies the requirement PyQt5 (from versions: non e) ERROR: No matching distribution found for PyQt5

解决方法:

首先下载Anaconda,此处不赘述如何下载

进入anaconda promot控制台界面

这里是默认的虚拟环境,最好自己创建一个虚拟环境

conda create --name DeepLearning python=3.7

然后activate DeepLearning 进入创建的虚拟环境

下载pytorch依赖

conda install pytorch torchvision torchaudio cpuonly -c pytorch

 然后在Pychram中创建新的解释器

然后使用新的解释器即可

 

 

 

 

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/Candy___i/article/details/131028025

ga算法|遗传算法|sysu期末课程设计|python+matlab实现|超完备代码实现-爱代码爱编程

前言 那么这里博主先安利一下一些干货满满的专栏啦! Linux专栏https://blog.csdn.net/yu_cblog/category_11786077.html?spm=1001.2014.3001.5482操作系统专栏https://blog.csdn.net/yu_cblog/category_12165502.html?spm