Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot assign a value to variable Core.Core from module Turing #1687

Closed
rikhuijzer opened this issue Aug 24, 2021 · 3 comments
Closed

cannot assign a value to variable Core.Core from module Turing #1687

rikhuijzer opened this issue Aug 24, 2021 · 3 comments

Comments

@rikhuijzer
Copy link
Contributor

rikhuijzer commented Aug 24, 2021

In Turing v0.17.1, I get the following error (https://github.com/rikhuijzer/huijzer.xyz/runs/3410680299):

ERROR: LoadError: LoadError: cannot assign a value to variable Core.Core from module Turing
Stacktrace:
 [1] include(mod::Module, _path::String)
   @ Base ./Base.jl:386
 [2] include(x::String)
   @ Turing ~/.julia/packages/Turing/Ysmbf/src/Turing.jl:1
 [3] top-level scope
   @ ~/.julia/packages/Turing/Ysmbf/src/Turing.jl:33
 [4] include
   @ ./Base.jl:386 [inlined]
 [5] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::Nothing)
   @ Base ./loading.jl:1235
 [6] top-level scope
   @ none:1
 [7] eval
   @ ./boot.jl:360 [inlined]
 [8] eval(x::Expr)
   @ Base.MainInclude ./client.jl:446
 [9] top-level scope
   @ none:1
in expression starting at /home/runner/.julia/packages/Turing/Ysmbf/src/core/Core.jl:1
in expression starting at /home/runner/.julia/packages/Turing/Ysmbf/src/Turing.jl:1

julia version 1.6.2

@devmotion
Copy link
Member

It's a bug in Reexport 1.2.1. You can fix it by downgrading Reexport with ] add Reexport@1.2.0.

@devmotion
Copy link
Member

@rikhuijzer
Copy link
Contributor Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants