JuliaPy / Conda.jl

Conda managing Julia binary dependencies
Other
174 stars 57 forks source link

function add does not accept keyword arguments #155

Closed tk3369 closed 5 years ago

tk3369 commented 5 years ago

Unable to add package with channel specified... 🤔

julia> Conda.add("pykafka", Conda.ROOTENV; channel = "conda-forge")
ERROR: function add does not accept keyword arguments
Stacktrace:
 [1] kwfunc(::Any) at ./boot.jl:330
 [2] top-level scope at none:0
FelixJones42 commented 5 years ago

I'm running into the same problem with julia> Conda.add("openmm",:ROOTENV; channel="omnia") ERROR: function add does not accept keyword arguments Stacktrace: [1] kwfunc(::Any) at ./boot.jl:330 [2] top-level scope at none:0

sjkelly commented 5 years ago

This runs fine for me on master. It looks like https://github.com/JuliaPy/Conda.jl/pull/139 did not make it into the 1.2.0 tag. @rofinn is it possible to do a new release?

rofinn commented 5 years ago

Huh, I am a JuliaPy maintainer :/ I guess so. Might be good to get @ararslan or @stevengj to make the release since that was my PR?

sjkelly commented 5 years ago

@tk3369 you can try running pyimport_conda("pykafka", "pykafka", "conda-forge") from PyCall and it should add the dependency.