Hi, i was trying to make some modifications to the laplaceredux package but i am having some issues with the environment. everything worked until i tried to add MLJBase to the environment, now julia tells me
ERROR: LoadError: ArgumentError: Package LaplaceRedux does not have MLJBase in its dependencies:
You may have a partially installed environment. Try Pkg.instantiate()
to ensure all packages in the environment are installed.
Or, if you have LaplaceRedux checked out for development and have
added MLJBase as a dependency but haven’t updated your primary
environment’s manifest file, try Pkg.resolve().
Otherwise you may need to report an issue with LaplaceRedux
i tried with update, instantiate and resolve too but nothing works. I am honestly confused on how the julia envs work…
why does it even matter that laplaceredux does not have MLJBase in its dependencies?
First, please clarify what “the environment” is.
It looks like you are in LaplaceRedux.jl\docs\Project.toml.
It is separate from LaplaceRedux.jl\Project.toml.
I have added MLJBase to LaplaceRedux/Project.toml and added using MLJBase to src/LaplaceRdeux.jl, but the problem does not reproduce.
In the first place, LaplaceRedux indirectly depends on MLJBase and adding MLJBase to the dependency should not cause any problems.
So, you are saying that the error message is misdirected.
I am sorry I could not help you.
yes, that’s what i tried yesterday. i deleted manifest and toml and started reinstalling the packages one after one. I think it’s a compatibility issue: whenever i reinstall taijaplotting mljbase goes back from version 1.2 to 0.21
there is no need to be an ass. Anyway when i removed taijaplotting and updated the packages the error disappeared. I don’t know why and i don’t care as long as it works for what i need.