本文介绍: 这里表明一些包没安装,一些包冲突了,使用下列代码尝试解决

在将文件依赖环境打包了报以下错误

ERROR: pips dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
condarepocli 1.0.75 requires requests_mock, which is not installed.
tables 3.8.0 requires blosc2~=2.0.0, which is not installed.
tables 3.8.0 requires cython>=0.29.21, which is not installed.
gensim 4.3.0 requires FuzzyTM>=0.4.0, which is not installed.
datasets 2.12.0 requires dill<0.3.7,>=0.3.0, but you have dill 0.3.7 which is incompatible.
condarepocli 1.0.75 requires clyent==1.2.1, but you have clyent 1.2.2 which is incompatible.
aiobotocore 2.5.0 requires botocore<1.29.77,>=1.29.76, but you have botocore 1.31.81 which is incompatible.
numba 0.57.1 requires numpy<1.25,>=1.21, but you have numpy 1.26.1 which is incompatible.

这里表明一些包没安装,一些包冲突了,使用下列代码尝试解决

# Install missing dependencies using pip or conda
pip install requests_mock
pip install blosc2~=2.0.0
pip install cython>=0.29.21
pip install "FuzzyTM>=0.4.0"

# Or using conda, if the packages are available in conda repositories
conda install requests_mock
conda install blosc2=2.0.0 -c conda-forge  # specifying the channel if necessary
conda install cython>=0.29.21
conda install "FuzzyTM>=0.4.0" -c conda-forge  # as an example

# Resolve version conflicts by downgrading/adjusting versions
pip install "dill<0.3.7,>=0.3.0"
pip install clyent==1.2.1
pip install "botocore<1.29.77,>=1.29.76"
pip install "numpy<1.25,>=1.21"

# If using conda, you can also use it to force-reinstall to specific versions
conda install dill=0.3.6
conda install clyent=1.2.1
conda install botocore=1.29.76
conda install numpy=1.21

# Note: If you're running into issues where pip and conda are conflicting,
# you might want to stick to one package manager. In a conda environment,
# it's generally recommended to use conda when possible.

原文地址:https://blog.csdn.net/weixin_53704902/article/details/134305416

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任

如若转载,请注明出处:http://www.7code.cn/show_35880.html

如若内容造成侵权/违法违规/事实不符,请联系代码007邮箱suwngjj01@126.com进行投诉反馈,一经查实,立即删除

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注