Pkg安装上的错误 Unsatisfiable requirements

最近在安装很多包的时候,都报了这类错误 unsatisfiable requirements detected for package ——
举个例子
(@v1.5) pkg> add MLJ
Updating registry at C:\Users\DELL\.julia\registries\General
Updating registry at C:\Users\DELL\.julia\registries\JuliaComputingRegistry
Resolving package versions…
ERROR: Unsatisfiable requirements detected for package SpecialFunctions [276daf66]:
SpecialFunctions [276daf66] log:
├─SpecialFunctions [276daf66] has no known versions!
└─found to have no compatible versions left with GLM [38e38edf]
└─GLM [38e38edf] log:
├─possible versions are: [1.0.0-1.0.2, 1.1.0-1.1.1, 1.2.0, 1.3.0-1.3.11, 1.4.0] or uninstalled
└─restricted to versions * by an explicit requirement, leaving only versions [1.0.0-1.0.2, 1.1.0-1.1.1, 1.2.0, 1.3.0-1.3.11, 1.4.0]
同样地
(@v1.5) pkg> add LIBSVM
Resolving package versions…
ERROR: Unsatisfiable requirements detected for package VersionParsing [81def892]:
VersionParsing [81def892] log:
├─VersionParsing [81def892] has no known versions!
└─found to have no compatible versions left with PyPlot [d330b81b]
└─PyPlot [d330b81b] log:
├─possible versions are: [2.6.1-2.6.3, 2.7.0, 2.8.0-2.8.2, 2.9.0] or uninstalled
└─restricted to versions * by an explicit requirement, leaving only versions [2.6.1-2.6.3, 2.7.0, 2.8.0-2.8.2, 2.9.0]
问问大伙是怎样解决的

包依赖冲突

建议每个项目建一个虚拟环境,不要全装到默认环境

当然是建新环境喽

备案号:京ICP备17009874号-2