CondaPkg.jl
CondaPkg.jl copied to clipboard
allow adding several packages at once using `CondaPkg.add`
This currently fails, which is quite disappointing

Looking into the code, it is just not supported to pass a Vector of String.
Passing a Vector of PkgSpec works, but this is very lowlevel and should not be needed.
My workaround is now
CondaPkg.add(CondaPkg.PkgREPL.parse_pkg.(["numpy", "pandas", "matplotlib", "plotly"]))
It looks like this is not intended usage unfortunately.
Hence it would be really great if CondaPkg.add(["numpy", "pandas", "matplotlib", "plotly"]) just works
I'll think about adding that.
In the meantime, you can do
CondaPkg.add.([...], resolve=false)
CondaPkg.resolve()