You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I want to add a new package in a Pluto notebook and the package name is used both in the General registry and in a private/ local registry, this fails:
The Julia REPL offers a selection in the same situation:
(jl_nPj58R) pkg> add MarketRisk
There are multiple registered `MarketRisk` packages, choose one:
> Registry: JuliaRegistry - Repo: https://gitlab.internal.xxx.dev/benjamin/marketrisk.jl.git - UUID: 4464747a-2b55-41d9-8dca-e6f80a96fed3
Registry: General - Repo: https://github.com/mpkuperman/MarketRisk.jl.git - UUID: a023d85a-3a31-486e-88e8-289a01a8187b
In order to reproduce this, you need to have a private Registry added to Julia (] registry add myregistry) and have a package registered there with the same name as one in General registry.
I know that this is quite an edge-case and a fix may be difficult, but nevertheless I wanted to document it.
Workaround: switch off PlutoPkg and use manual package management in the notebook.
The text was updated successfully, but these errors were encountered:
If I want to add a new package in a Pluto notebook and the package name is used both in the General registry and in a private/ local registry, this fails:
The Julia REPL offers a selection in the same situation:
In order to reproduce this, you need to have a private Registry added to Julia (
] registry add myregistry
) and have a package registered there with the same name as one in General registry.I know that this is quite an edge-case and a fix may be difficult, but nevertheless I wanted to document it.
Workaround: switch off PlutoPkg and use manual package management in the notebook.
The text was updated successfully, but these errors were encountered: