pytorch安装问题
当前遇到的问题:
python3.9无法安装读取coco数据集的 pycocotools-windows,那么需要切换版本到3.6/7/8,但是切换到python 3.6之后,无法安装torchvision和pytorch【在python就叫torch】,显示没有这个版本
pip install -i https://pypi.org/simple torch
ERROR: Could not find a version that satisfies the requirement torch (from versions: none)
ERROR: No matching distribution found for torch
各种问题,解决不了
百度快半小时后,发现有个大佬建议直接使用anaconda
得到教训:pytorch的安装是一个很烧脑的问题,下次直接使用conda
解决方案
直接使用conda的虚拟环境安装torch
conda create -n 该环境名字 pytorch python=3.6
3.6是python的版本,你可以自己选一个
然后打开pycharm,选择添加解释器,选中你的conda环境的地址,等待几秒加载后选择我们刚才创建的环境


当然,如果后续缺什么包直接pycharm安装就可以了











](https://img-blog.csdnimg.cn/c8b68049238e4823be472b37cd4da9fa.jpeg)
![Hyperledger Fabric测试网络运行官方Java链码[简约版]](https://img-blog.csdnimg.cn/17078854d3054fd3be5c03397de5455d.png#pic_center)



![[Linux] 最基础简单的线程池 及其 单例模式的实现](https://img-blog.csdnimg.cn/18ba0b0212764b99941031810b58d424.gif)


