最近跑代码的时候遇到了CondaVerificationError问题,在网上搜了很多回答都说使用conda clean --all这条命令去解决问题,emm.......,就很离谱。我的完整报错如下所示,类似的问题解决方法都一样的。
CondaVerificationError: The package for olefile located at /root/anaconda3/pkgs/olefile-0.46-py37_0
appears to be corrupted. The path 'lib/python3.7/site-packages/olefile/__pycache__/__init__.cpython-37.pyc'
specified in the package manifest cannot be found.
其实我们根本就不用运行上面的那条指令,只需要到/root/anaconda3/pkgs/olefile-0.46-py37_0这个路径下面,把olefile-0.46-py37_0这个文件夹给删掉就可以了。