错误:无法安装 gluonts、mxnet、numpy 和 pandas,因为这些软件包版本具有相互冲突的依赖项

问题描述

我想安装某些软件包:

pip install gluonts==0.8.0 mxnet~=1.7 pathlib==1.0.1 numpy==1.17.2 pandas==1.0.5 ujson==4.0.2 torch~=1.6 pytorch-lightning~=1.1

但是在安装过程中,我收到以下错误

ERROR: Cannot install gluonts==0.8.0,mxnet==1.7.0.post1,mxnet==1.7.0.post2,numpy==1.17.2 and pandas==1.0.5 because these package versions have conflicting dependencies.

The conflict is caused by:
The user requested numpy==1.17.2
gluonts 0.8.0 depends on numpy~=1.16
pandas 1.0.5 depends on numpy>=1.13.3
mxnet 1.7.0.post2 depends on numpy<1.17.0 and >=1.8.2
The user requested numpy==1.17.2
gluonts 0.8.0 depends on numpy~=1.16
pandas 1.0.5 depends on numpy>=1.13.3
mxnet 1.7.0.post1 depends on numpy<1.17.0 and >=1.8.2

对于这些安装,我指的是以下站点https://business-science.github.io/modeltime.gluonts/articles/managing-envs.html

有没有办法在没有任何依赖冲突的情况下安装所有这些包(即使它必须在新的 python 环境中,例如 pipenv myenv)?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...