python 安装环境时出现报错:CondaVerificationError: The package for tk located at /home/anaconda3/pkgs/t
python安装环境时无法成功安装包
最近,在使用conda安装环境时,突然出现了报错,具体报错如下所示:
CondaVerificationError: The package for tk located at /home/anaconda3/pkgs/tk-8.6.12-h1ccaba5_0
appears to be corrupted. The path 'include/itclInt.h'
specified in the package manifest cannot be found.
The following NEW packages will be INSTALLED:cycler pkgs/main/win-64::cycler-0.10.0-py38_0freetype pkgs/main/win-64::freetype-2.10.4-hd328e21_0icu pkgs/main/win-64::icu-58.2-ha925a31_3jpeg pkgs/main/win-64::jpeg-9b-hb83a4c4_2kiwisolver pkgs/main/win-64::kiwisolver-1.3.1-py38hd77b12b_0libpng pkgs/main/win-64::libpng-1.6.37-h2a8f88b_0libtiff pkgs/main/win-64::libtiff-4.2.0-hd0e1b90_0lz4-c pkgs/main/win-64::lz4-c-1.9.3-h2bbff1b_0matplotlib pkgs/main/win-64::matplotlib-3.3.4-py38haa95532_0matplotlib-base pkgs/main/win-64::matplotlib-base-3.3.4-py38h49ac443_0multitasking ranaroussi/noarch::multitasking-0.0.9-py_0olefile pkgs/main/noarch::olefile-0.46-py_0pillow pkgs/main/win-64::pillow-8.2.0-py38h4fa10fc_0pyqt pkgs/main/win-64::pyqt-5.9.2-py38ha925a31_4qt pkgs/main/win-64::qt-5.9.7-vc14h73c81de_0quantstats ranaroussi/noarch::quantstats-0.0.25-py_0seaborn pkgs/main/noarch::seaborn-0.11.1-pyhd3eb1b0_0sip pkgs/main/win-64::sip-4.19.13-py38ha925a31_0tabulate pkgs/main/win-64::tabulate-0.8.9-py38haa95532_0tk pkgs/main/win-64::tk-8.6.10-he774522_0xz pkgs/main/win-64::xz-5.2.5-h62dcd97_0yfinance ranaroussi/noarch::yfinance-0.1.54-py_0zstd pkgs/main/win-64::zstd-1.4.9-h19a0ad4_0Proceed ([y]/n)? yPreparing transaction: done
Verifying transaction: failedCondaVerificationError: The package for yfinance located at C:\Users\Latitude User\anaconda3\pkgs\yfinance-0.1.54-py_0
appears to be corrupted. The path 'python-scripts/sample'
specified in the package manifest cannot be found.CondaVerificationError: The package for yfinance located at C:\Users\Latitude User\anaconda3\pkgs\yfinance-0.1.54-py_0
appears to be corrupted. The path 'site-packages/yfinance-0.1.54.dist-info/INSTALLER'
specified in the package manifest cannot be found.CondaVerificationError: The package for yfinance located at C:\Users\Latitude User\anaconda3\pkgs\yfinance-0.1.54-py_0
appears to be corrupted. The path 'site-packages/yfinance-0.1.54.dist-info/METADATA'
specified in the package manifest cannot be found.CondaVerificationError: The package for yfinance located at C:\Users\Latitude User\anaconda3\pkgs\yfinance-0.1.54-py_0
appears to be corrupted. The path 'site-packages/yfinance-0.1.54.dist-info/RECORD'
specified in the package manifest cannot be found.CondaVerificationError: The package for yfinance located at C:\Users\Latitude User\anaconda3\pkgs\yfinance-0.1.54-py_0
appears to be corrupted. The path 'site-packages/yfinance-0.1.54.dist-info/WHEEL'
specified in the package manifest cannot be found.CondaVerificationError: The package for yfinance located at C:\Users\Latitude User\anaconda3\pkgs\yfinance-0.1.54-py_0
appears to be corrupted. The path 'site-packages/yfinance/__init__.py'
specified in the package manifest cannot be found.CondaVerificationError: The package for yfinance located at C:\Users\Latitude User\anaconda3\pkgs\yfinance-0.1.54-py_0
appears to be corrupted. The path 'site-packages/yfinance/base.py'
specified in the package manifest cannot be found.CondaVerificationError: The package for yfinance located at C:\Users\Latitude User\anaconda3\pkgs\yfinance-0.1.54-py_0
appears to be corrupted. The path 'site-packages/yfinance/multi.py'
specified in the package manifest cannot be found.CondaVerificationError: The package for yfinance located at C:\Users\Latitude User\anaconda3\pkgs\yfinance-0.1.54-py_0
appears to be corrupted. The path 'site-packages/yfinance/shared.py'
specified in the package manifest cannot be found.CondaVerificationError: The package for yfinance located at C:\Users\Latitude User\anaconda3\pkgs\yfinance-0.1.54-py_0
appears to be corrupted. The path 'site-packages/yfinance/ticker.py'
specified in the package manifest cannot be found.CondaVerificationError: The package for yfinance located at C:\Users\Latitude User\anaconda3\pkgs\yfinance-0.1.54-py_0
appears to be corrupted. The path 'site-packages/yfinance/tickers.py'
specified in the package manifest cannot be found.CondaVerificationError: The package for yfinance located at C:\Users\Latitude User\anaconda3\pkgs\yfinance-0.1.54-py_0
appears to be corrupted. The path 'site-packages/yfinance/utils.py'
specified in the package manifest cannot be found.
这样的报错,头一回见,直接给我整不会了。思考了一下报错原因,唯一做的事情就是在安装环境时,又同时在安装其他的库,所以我想其他的库和未安装完成的库之间可能出现了冲突导致的。
解决方法,如下所示:
conda clean --packages --tarballs
然后,再重新安装环境,就不会出现报错了
https://github.com/conda/conda/issues/4429
https://stackoverflow.com/questions/48404179/create-environment-python-3-5-errors
https://datascience.stackexchange.com/questions/41732/conda-verification-failed
python 安装环境时出现报错:CondaVerificationError: The package for tk located at /home/anaconda3/pkgs/t相关推荐
- 运行python脚本时,报错InsecurePlatformWarning: A true SSLContext object is not available,解决方法
运行python脚本时,报错InsecurePlatformWarning: A true SSLContext object is not available,解决方法 参考文章: (1)运行pyt ...
- Ubuntu安装Python模块时的报错
在安装Python的psutil模块时,报"error: command 'x86_64-linux-gnu-gcc' failed with exit status 1"的错误, ...
- debug笔记—编译报错usr/bin/ld: cannot find -lfl 解决办法;yum 安装软件时,报错:No package XXX available 解决办法
问题1: 在编译GEOS-Chem中KPP时,出现问题: usr/bin/ld: cannot find -lfl 原因:参考链接:https://www.royalchen.com/?p=2170 ...
- 解决Anaconda安装包时报错CondaVerificationError: The package for pytorch located at...
解决办法:清理之前安装包时留下的缓存 conda clean --all
- 解决问题CondaVerificationError: The package for olefile located at...
最近跑代码的时候遇到了CondaVerificationError问题,在网上搜了很多回答都说使用conda clean --all这条命令去解决问题,emm.......,就很离谱.我的完整报错如下 ...
- python 运行画图时,报错:“RuntimeError: Invalid DISPLAY variable“
python 运行画图时,报错:"RuntimeError: Invalid DISPLAY variable" 错误描述 错误原因 matplotlib的默认backend是Tk ...
- Python中删除set中指定元素元素不存在时不报错:s.discard()元素不存在时报错:s.remove()
[小白从小学Python.C.Java] [Python-计算机等级考试二级] [Python-数据分析] Python中删除set中指定元素 元素不存在时不报错:s.discard() 元素不存在时 ...
- pycharm中python调用百度aip所遇问题解决方案记录:pip安装时版本报错以及aip导入时报错no module named aip/requests)
pycharm中python调用百度aip所遇问题解决方案记录:pip安装时版本报错以及aip导入时报错no module named aip/requests pip安装时版本报错 pip升级后安装 ...
- Python连接mysql,插入数据时不报错,但是没有插入进去
Python连接mysql,插入数据时不报错,但是没有插入进去在connect方法中,设置 autocommit =True conn=pymysql.connect(host=host_db,use ...
最新文章
- ubuntu中使用apt命令安装ipython失败解决方案
- 把握机缘_机缘巧合,蒙太奇训练以及我的朋友如何使自己失业
- 开源大数据周刊-第30期
- C#网页自动登录和提交POST信息的多种方法
- linux中double大小,linux 下 float 和 double 精度计算差别
- TLB的作用及工作原理
- Scala概述及学习Scala的优势
- mysql数据导入导出方法总结
- 为什么unity 安装完模块还是找不到sdk_解决在Android Studio 3.2找不到Android Device Monitor工具...
- 干货分享|UI设计可临摹编辑的线框素材,还会觉得交互原型画得丑?
- Spring Boot(一) 建立spring boot工程
- android 通过浏览器下的apk无法安装_安卓手机必备,文件管理利器!ES文件浏览器特别版安卓软件...
- 面向程序员的精品开源字体
- Anaconda更换字体及字号
- php 模拟蜘蛛,php 实现使用curl模拟百度蜘蛛进行采集
- 每日一题系列 - 荷兰国旗问题
- root android 5.0,安卓android5.0怎么一键root? 安卓5.0一键root教程
- PaddleX---dEEPlABv3+语义分割
- visual studio code下载慢解决办法
- 天兔lepus部署文档
热门文章
- 数据结构基础 之 递归算法实例讲解
- 使用word2vec预训练模型提取DNA/RNA序列特征向量
- iframe中碰到的问题及解决方法
- html网页制作体会,网页制作的心得体会
- 百度、微博的大数据算法Top10热搜怎么实现?
- TypeWriter: Neural Type Prediction with Search-based Validation基于搜索的神经网络预测器
- 想考阿里云ACP认证,网上买题库靠谱吗?
- Bootstrap+web+Idea实现登录页面(含验证码)
- android 仿ios动画效果代码,Android仿IOS上拉下拉弹性效果的实例代码
- python中的slice用法