import Pkg; Pkg.add("CairoMakie")
using CairoMakie
CairoMakie.activate!()
ERROR: LoadError: InitError: could not load library "C:\Users\DELL\.julia\artifacts\f9f799e6ae3fe7f244bb55052db7ff1cea876c27\bin\libgettextlib-0-21.dll"
The specified module could not be found.
我运行了这段代码还是不可以
import Pkg
Pkg.update()
Updating registry at C:\Users\DELL\.julia\registries\General
Updating git-repo https://github.com/JuliaRegistries/General.git
┌ Error: Some registries failed to update:
│ — C:\Users\DELL.julia\registries\General — failed to fetch from repo: failed to fetch from GitHub - JuliaRegistries/General: The official registry of general Julia packages, error: GitError(Code:ERROR, Class:OS, failed to send request: 与服务器的连接意外终止
│ )
└ @ Pkg.Registry C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.8\Pkg\src\Registry\Registry.jl:449
No Changes to C:\Users\DELL\.julia\environments\v1.8\Project.toml
No Changes to C:\Users\DELL\.julia\environments\v1.8\Manifest.toml
┌ Info: We haven’t cleaned this depot up for a bit, running Pkg.gc()…
└ @ Pkg C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.8\Pkg\src\Pkg.jl:719
Active manifest files: 2 found
Active artifact files: 95 found
Active scratchspaces: 6 found
Deleted no artifacts, repos, packages or scratchspaces
import Pkg; Pkg.add(“CairoMakie”)
Resolving package versions…
No Changes to C:\Users\DELL\.julia\environments\v1.8\Project.toml
No Changes to C:\Users\DELL\.julia\environments\v1.8\Manifest.toml
using CairoMakie
CairoMakie.activate!()
┌ Info: Precompiling CairoMakie [13f3f980-e62b-5c42-98c6-ff1f3baf88f0]
└ @ Base loading.jl:1662
ERROR: LoadError: InitError: could not load library “C:\Users\DELL.julia\artifacts\f9f799e6ae3fe7f244bb55052db7ff1cea876c27\bin\libgettextlib-0-21.dll”
The specified module could not be found.
Stacktrace:
The following package names could not be resolved: * CarioMakie (not found in project, manifest or registry) Suggestions: StaticUnivariatePolynomials StochasticGroundMotionSimulation