在使用Julia Plots包时,
using Plots
出现报错
[ Info: Precompiling Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80]
ERROR: LoadError: InitError: could not load library "F:\Julia-1.8.2\packages\artifacts\3e683ec5ca945a5aca74c49e8cccdf37c19b84a3\bin\libopenspecfun.dll"
The specified module could not be found.
和
ERROR: Failed to precompile Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80] to F:\Julia-1.8.2\packages\compiled\v1.8\Plots\jl_2DC0.tmp.
尝试在Pkg里重新build,也有相同报错,没有解决问题
julia> ENV["openspecfunDIR"]=""
""
julia> Pkg.build("openspecfun")
ERROR: The following package names could not be resolved:
* openspecfun (not found in project or manifest)
Suggestions: OpenSpecFun_jll
julia> Pkg.build("OpenSpecFun_jll")
julia> using Plots
[ Info: Precompiling Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80]
ERROR: LoadError: InitError: could not load library "F:\Julia-1.8.2\packages\artifacts\3e683ec5ca945a5aca74c49e8cccdf37c19b84a3\bin\libopenspecfun.dll"
The specified module could not be found.
检查.dll所在的package artifacts, 已安装并update Artifacts
(@v1.8) pkg> add artifacts
ERROR: The following package names could not be resolved:
* artifacts (not found in project, manifest or registry)
Suggestions: Artifacts OhMyArtifacts ArtifactUtils LazyArtifacts ArtifactWrappers AbstractPDEInterfaces ParametricOptInterface
(@v1.8) pkg> add Artifacts
Resolving package versions...
Updating `F:\Julia-1.8.2\packages\environments\v1.8\Project.toml`
[56f22d72] + Artifacts
No Changes to `F:\Julia-1.8.2\packages\environments\v1.8\Manifest.toml`
请问如何解决报错,正常使用Plots包?