You probably need to load the Clustering package in Julia first. Arguably, that should happen automatically when doing `from julia import Clustering` with PyJulia.
On Fri, Jun 19, 2015 at 5:50 AM, Verdi March <[email protected]> wrote: > Hi, > > I'm trying to call Julia functions from Python. > > I follow the PyJulia example by Jake Bolewski (here > <https://groups.google.com/d/msg/julia-dev/-B90BrkzM6E/dbiRVm5EeRYJ>), > but I couldn't get it to work: > > $ python -c 'from julia import Clustering' > Traceback (most recent call last): > File "<string>", line 1, in <module> > ImportError: cannot import name Clustering > > > The Clustering module is already installed; I can use it from within > Julia. I'm not sure what steps are still missing, but it'd be great if > anyone can shed some lights. > > Regards, > Verdi >
