当前位置:   article > 正文

2021-06-17_autogluon-multimodal 0.8.2 requires torch<1.14,>=1

autogluon-multimodal 0.8.2 requires torch<1.14,>=1.9, but you have torch 2.0

ImportError: cannot import name ‘InvalidSchemeCombination’ from ‘pip._internal.exceptions’

pip安装突然出问题!
在网上down demo,运行出错ModuleNotFoundError: No module named 'tensorboardX',查解决办法:pip install tensorboardX ,但一直报错ImportError: cannot import name 'InvalidSchemeCombination' from 'pip._internal.exceptions';接着找解决方法:

报错原因:pip文件损坏
解决方法可参考:https://blog.csdn.net/weixin_40040107/article/details/102581918
仍然报错的话需要:卸载anaconda,重装:
https://www.cnblogs.com/studylyn/p/7718472.html
https://blog.csdn.net/qq_40605139/article/details/95249601
anaconda重新安装:https://blog.csdn.net/qq_32649321/article/details/115554168?spm=1001.2014.3001.5501
原文链接:https://blog.csdn.net/qq_32649321/article/details/116719072
之后的一系列操作:
在这里插入图片描述
关键错误原因:

pip’s dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
torchaudio 0.8.1 requires torch==1.8.1, but you have torch 1.9.0 which is incompatible.

*pip的依赖解析程序当前没有考虑所有已安装的包。这种行为是以下依赖冲突的根源。
torchaudio 0.8.1要求torch
==1.8.1,但您的torch 1.9.0不兼容。*

在这里插入图片描述

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/我家自动化/article/detail/313088
推荐阅读
相关标签
  

闽ICP备14008679号