赞
踩
conda create --name env_name python=3.8.18
在centos系统的python项目创建虚拟环境时,报如下错误:
......
InvalidArchiveError('Error with archive /var/cache/conda/pkgs/libgomp-11.2.0-h1234567_17willmw2/info-libgomp-11.2.0-h1234567_1.tar.zst. You probably need to delete and re-download or re-create this file. Message from libarchive was:\n\nUnrecognized archive format',)
InvalidArchiveError('Error with archive /var/cache/conda/pkgs/libstdcxx-ng-11.2.0-h1234567_1876a2u5h/info-libstdcxx-ng-11.2.0-h1234567_1.tar.zst. You probably need to delete and re-download or re-create this file. Message from libarchive was:\n\nUnrecognized archive format',)
InvalidArchiveError('Error with archive /var/cache/conda/pkgs/tk-8.6.12-h1ccaba5_0_meb3b9a/info-tk-8.6.12-h1ccaba5_0.tar.zst. You probably need to delete and re-download or re-create this file. Message from libarchive was:\n\nUnrecognized archive format',)
InvalidArchiveError('Error with archive /var/cache/conda/pkgs/python-3.8.18-h955ad1f_0jwt53bly/info-python-3.8.18-h955ad1f_0.tar.zst. You probably need to delete and re-download or re-create this file. Message from libarchive was:\n\nUnrecognized archive format',)
InvalidArchiveError('Error with archive /var/cache/conda/pkgs/ld_impl_linux-64-2.38-h1181459_1f9b7zjv4/info-ld_impl_linux-64-2.38-h1181459_1.tar.zst. You probably need to delete and re-download or re-create this file. Message from libarchive was:\n\nUnrecognized archive format',)
InvalidArchiveError('Error with archive /var/cache/conda/pkgs/wheel-0.41.2-py38h06a4308_0cvumgab3/info-wheel-0.41.2-py38h06a4308_0.tar.zst. You probably need to delete and re-download or re-create this file. Message from libarchive was:\n\nUnrecognized archive format',)
InvalidArchiveError('Error with archive /var/cache/conda/pkgs/sqlite-3.41.2-h5eee18b_027fbbqnu/info-sqlite-3.41.2-h5eee18b_0.tar.zst. You probably need to delete and re-download or re-create this file. Message from libarchive was:\n\nUnrecognized archive format',)
......
网上找了各种资料,均没有解决
比如:
最终,根据信息理解,libarchive无法读取归档文件.tar.zst,查询libarchive是否支持这个压缩包格式,支持,那就考虑版本太低问题,最终升级libarchive解决
sudo yum update libarchive
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。