预编译Images库时出错了怎么办


#1
           _

_ _ ()_ | Documentation: https://docs.julialang.org
() | () () |
_ _ | | __ _ | Type “?” for help, “]?” for Pkg help.
| | | | | | |/ ` | |
| | |
| | | | (
| | | Version 1.2.0 (2019-08-20)
/ |_|||_’_| | Official https://julialang.org/ release
|__/ |

julia> using Images
[ Info: Precompiling Images [916415d5-f1e6-5110-898d-aaa5f9f070e0]
ERROR: LoadError: SpecialFunctions is not installed properly, run Pkg.build("Sp ecialFunctions"),restart Julia and try again
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] top-level scope at C:\Users\Qling.julia\packages\SpecialFunctions\ne2iw\sr
c\SpecialFunctions.jl:6
[3] include at .\boot.jl:328 [inlined]
[4] include_relative(::Module, ::String) at .\loading.jl:1094
[5] include(::Module, ::String) at .\Base.jl:31
[6] top-level scope at none:2
[7] eval at .\boot.jl:330 [inlined]
[8] eval(::Expr) at .\client.jl:432
[9] top-level scope at .\none:3
in expression starting at C:\Users\Qling.julia\packages\SpecialFunctions\ne2iw
src\SpecialFunctions.jl:4
ERROR: LoadError: Failed to precompile SpecialFunctions [276daf66-3868-5448-9aa4
-cd146d93841b] to C:\Users\Qling.julia\compiled\v1.2\SpecialFunctions\78gOt.ji.

Stacktrace:
[1] error(::String) at .\error.jl:33
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1253
[3] _require(::Base.PkgId) at .\loading.jl:1013
[4] require(::Base.PkgId) at .\loading.jl:911
[5] require(::Module, ::Symbol) at .\loading.jl:906
[6] include at .\boot.jl:328 [inlined]
[7] include_relative(::Module, ::String) at .\loading.jl:1094
[8] include(::Module, ::String) at .\Base.jl:31
[9] top-level scope at none:2
[10] eval at .\boot.jl:330 [inlined]
[11] eval(::Expr) at .\client.jl:432
[12] top-level scope at .\none:3
in expression starting at C:\Users\Qling.julia\packages\ColorVectorSpace\qOOQJ
src\ColorVectorSpace.jl:5
ERROR: LoadError: Failed to precompile ColorVectorSpace [c3611d14-8923-5661-9e6a
-0046d554d3a4] to C:\Users\Qling.julia\compiled\v1.2\ColorVectorSpace\7uC4N.ji.

Stacktrace:
[1] error(::String) at .\error.jl:33
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1253
[3] _require(::Base.PkgId) at .\loading.jl:1013
[4] require(::Base.PkgId) at .\loading.jl:911
[5] require(::Module, ::Symbol) at .\loading.jl:906
[6] include at .\boot.jl:328 [inlined]
[7] include_relative(::Module, ::String) at .\loading.jl:1094
[8] include(::Module, ::String) at .\Base.jl:31
[9] top-level scope at none:2
[10] eval at .\boot.jl:330 [inlined]
[11] eval(::Expr) at .\client.jl:432
[12] top-level scope at .\none:3
in expression starting at C:\Users\Qling.julia\packages\Images\BEHlD\src\Images
.jl:32
ERROR: Failed to precompile Images [916415d5-f1e6-5110-898d-aaa5f9f070e0] to C:
Users\Qling.julia\compiled\v1.2\Images\H8Vxc.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1253
[3] _require(::Base.PkgId) at .\loading.jl:1013
[4] require(::Base.PkgId) at .\loading.jl:911
[5] require(::Module, ::Symbol) at .\loading.jl:906

(v1.2) pkg> add Images
Updating registry at C:\Users\Qling\.julia\registries\General
┌┌ Warning: Some registries failed to update:
││ —— C:\Users\Qling\.julia\registries\General —— registry dirty
└└ @ Pkg.Types C:\cygwin\home\Administrator\buildbot\worker\package_win64\build
usr\share\julia\stdlib\v1.2\Pkg\src\Types.jl:1171
Resolving package versions…
Updating C:\Users\Qling\.julia\environments\v1.2\Project.toml
[no changes]
Updating C:\Users\Qling\.julia\environments\v1.2\Manifest.toml
[no changes]

julia> using Images
[ Info: Precompiling Images [916415d5-f1e6-5110-898d-aaa5f9f070e0]
ERROR: LoadError: SpecialFunctions is not installed properly, run Pkg.build("Sp ecialFunctions"),restart Julia and try again
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] top-level scope at C:\Users\Qling.julia\packages\SpecialFunctions\ne2iw\sr
c\SpecialFunctions.jl:6
[3] include at .\boot.jl:328 [inlined]
[4] include_relative(::Module, ::String) at .\loading.jl:1094
[5] include(::Module, ::String) at .\Base.jl:31
[6] top-level scope at none:2
[7] eval at .\boot.jl:330 [inlined]
[8] eval(::Expr) at .\client.jl:432
[9] top-level scope at .\none:3
in expression starting at C:\Users\Qling.julia\packages\SpecialFunctions\ne2iw
src\SpecialFunctions.jl:4
ERROR: LoadError: Failed to precompile SpecialFunctions [276daf66-3868-5448-9aa4
-cd146d93841b] to C:\Users\Qling.julia\compiled\v1.2\SpecialFunctions\78gOt.ji.

Stacktrace:
[1] error(::String) at .\error.jl:33
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1253
[3] _require(::Base.PkgId) at .\loading.jl:1013
[4] require(::Base.PkgId) at .\loading.jl:911
[5] require(::Module, ::Symbol) at .\loading.jl:906
[6] include at .\boot.jl:328 [inlined]
[7] include_relative(::Module, ::String) at .\loading.jl:1094
[8] include(::Module, ::String) at .\Base.jl:31
[9] top-level scope at none:2
[10] eval at .\boot.jl:330 [inlined]
[11] eval(::Expr) at .\client.jl:432
[12] top-level scope at .\none:3
in expression starting at C:\Users\Qling.julia\packages\ColorVectorSpace\qOOQJ
src\ColorVectorSpace.jl:5
ERROR: LoadError: Failed to precompile ColorVectorSpace [c3611d14-8923-5661-9e6a
-0046d554d3a4] to C:\Users\Qling.julia\compiled\v1.2\ColorVectorSpace\7uC4N.ji.

Stacktrace:
[1] error(::String) at .\error.jl:33
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1253
[3] _require(::Base.PkgId) at .\loading.jl:1013
[4] require(::Base.PkgId) at .\loading.jl:911
[5] require(::Module, ::Symbol) at .\loading.jl:906
[6] include at .\boot.jl:328 [inlined]
[7] include_relative(::Module, ::String) at .\loading.jl:1094
[8] include(::Module, ::String) at .\Base.jl:31
[9] top-level scope at none:2
[10] eval at .\boot.jl:330 [inlined]
[11] eval(::Expr) at .\client.jl:432
[12] top-level scope at .\none:3
in expression starting at C:\Users\Qling.julia\packages\Images\BEHlD\src\Images
.jl:32
ERROR: Failed to precompile Images [916415d5-f1e6-5110-898d-aaa5f9f070e0] to C:
Users\Qling.julia\compiled\v1.2\Images\H8Vxc.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1253
[3] _require(::Base.PkgId) at .\loading.jl:1013
[4] require(::Base.PkgId) at .\loading.jl:911
[5] require(::Module, ::Symbol) at .\loading.jl:906

julia>


#2

运行 Pkg.build(“SpecialFunctions”) 再试,继续出类似这样的就继续这样试下去。