Skip to content

EOF Error while importing ModelingToolkit  #221

@yashvardhan747

Description

@yashvardhan747

While importing ModelingToolkit am getting this error.

julia> import ModelingToolkit
[ Info: Precompiling ModelingToolkit [961ee093-0014-501f-94e3-6117800e7a78]
ERROR: LoadError: EOFError: read end of file
Stacktrace:
 [1] read(::IOStream, ::Type{Int64}) at ./iostream.jl:361
 [2] parse_cache_header(::IOStream) at ./loading.jl:1334
 [3] stale_cachefile(::String, ::String) at ./loading.jl:1413
 [4] _require_search_from_serialized(::Base.PkgId, ::String) at ./loading.jl:752
 [5] _require(::Base.PkgId) at ./loading.jl:1001
 [6] require(::Base.PkgId) at ./loading.jl:922
 [7] require(::Module, ::Symbol) at ./loading.jl:917
 [8] include at ./boot.jl:328 [inlined]
 [9] include_relative(::Module, ::String) at ./loading.jl:1105
 [10] include(::Module, ::String) at ./Base.jl:31
 [11] top-level scope at none:2
 [12] eval at ./boot.jl:330 [inlined]
 [13] eval(::Expr) at ./client.jl:425
 [14] top-level scope at ./none:3
in expression starting at /Users/yash/.julia/packages/ModelingToolkit/PPjhj/src/ModelingToolkit.jl:17
ERROR: Failed to precompile ModelingToolkit [961ee093-0014-501f-94e3-6117800e7a78] to /Users/yash/.julia/compiled/v1.3/ModelingToolkit/Qmdqu_Pvv1Y.ji.
Stacktrace:
 [1] compilecache(::Base.PkgId, ::String) at ./loading.jl:1283
 [2] _require(::Base.PkgId) at ./loading.jl:1024
 [3] require(::Base.PkgId) at ./loading.jl:922
 [4] require(::Module, ::Symbol) at ./loading.jl:917

Am using Julia version 1.3.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions