How to use Python library in Julia?

It depends what you’re trying to achieve, but if you already have all that stuff installed into a Conda environment then you can do

ENV["JULIA_PYTHONCALL_EXE"] = "python"
using PythonCall
@py import confgf
...

That first line forces PythonCall to use Python from your own Conda environment.