-
-
Notifications
You must be signed in to change notification settings - Fork 294
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
Packages that inject into Core/Base can't be unimported from a session #627
Comments
Can you try to come up with a minimal working example? |
What happens if you run the last cell again after removing the import? |
@fonsp The same error referencing Zygote (that is what I mean by "after deletion") - could you not reproduce that? |
Okay thanks! Haven't tried it yet 😅 |
I think this can only be solved by restarting the julia process, but we probably don't want to do this automatically when you remove a |
Much more important is #24, (which would also be solved by restarting the process). |
This seems to be FluxML/Zygote.jl#260 BTW -- Zygote is committing piracy, not just adding methods. |
Not something that we are responsible for fixing, but #844 will recommend restarting the notebook after you remove an import. |
I removed
using Zygote
at some point. Now I am getting an error_pullback(::Zygote.Context, ::typeof(Main.workspace250.flux), ::Float64)
Now this error probably do not have anything to do with pluto, but since Pluto aims to be reactive, it should probably stop using dependencies when the using/import statements were removed. So I probably should not get a reference to Zygote in my stacktrace. Well at least as long as Zygote is not in Base.
The text was updated successfully, but these errors were encountered: