赞
踩
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不兼容。*
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。