无法将DifferentialEquations软件包安装到Julia

时间:2020-02-10 12:06:15

标签: julia

当我尝试安装DifferentialEquations软件包时,遇到以下问题:

ERROR: Unsatisfiable requirements detected for package DimensionalPlotRecipes [c619ae07]:  
DimensionalPlotRecipes [c619ae07] log:  
 ├─possible versions are: [0.1.0-0.1.1, 0.2.0, 1.0.0] or uninstalled  
 ├─restricted by compatibility requirements with RecipesBase [3cdcf5f2] to versions: uninstalled  
 │ └─RecipesBase [3cdcf5f2] log:  
 │   ├─possible versions are: [0.4.0, 0.5.0, 0.6.0, 0.7.0, 0.8.0] or uninstalled  
 │   └─restricted to versions 0.8.0 by an explicit requirement, leaving only versions 0.8.0  
 └─restricted by compatibility requirements with DifferentialEquations [0c46a032] to versions: [0.1.0-0.1.1, 0.2.0, 1.0.0] — no versions left  
  └─DifferentialEquations [0c46a032] log:  
     ├─possible versions are: [5.0.0, 5.1.0, 5.2.0-5.2.1, 5.3.0-5.3.1, 6.0.0, 6.1.0, 6.2.0, 6.3.0, 6.4.0, 6.6.0, 6.7.0, 6.8.0, 6.9.0, 6.10.0-6.10.1] or uninstalled  
     └─restricted to versions * by an explicit requirement, leaving only versions [5.0.0, 5.1.0, 5.2.0-5.2.1, 5.3.0-5.3.1, 6.0.0, 6.1.0, 6.2.0, 6.3.0, 6.4.0, 6.6.0, 6.7.0, 6.8.0, 6.9.0, 6.10.0-6.10.1]  

已安装软件包:

[a93c6f00] DataFrames v0.20.0  
[7073ff75] IJulia v1.21.1  
[91a5bcdd] Plots v0.29.0  
[d330b81b] PyPlot v2.8.2  
[3cdcf5f2] RecipesBase v0.8.0

Julia版本为1.3.1,操作系统为Windows 10。 有什么建议吗?

1 个答案:

答案 0 :(得分:2)

第一条评论很有帮助!

首先,我尝试删除RecipesBase,但没有帮助,因为它在Plots中使用此软件包建立了无法满足的要求。
接下来,我删除Plots,然后成功安装DifferentialEquations

安装Plots(最后)降级了其他一些软件包。现在一切正常,但是当我在using DifferentialEquations中运行Jupyter时,会有很多关于预编译的警告。这是第一个:

┌ Warning: Module RecipesBase with build ID 1818350963268401 is missing from the cache.
│ This may mean RecipesBase [3cdcf5f2-1ef4-517c-9805-6587b60abb01] does not support precompilation but is imported by a module that does.
└ @ Base loading.jl:1011

无论如何,两个软件包都可以工作。