Hi guys, thank you for the quick reply!

About my version of Distributions:
julia> Pkg.status("Distributions")
 - Distributions                 0.4.2              master

And, yes, I am building julia from master (the default option, right?). I
tried to update Distributions and I got the following error:

julia> Pkg.checkout("Distributions")
INFO: Checking out Distributions master...
INFO: Pulling Distributions latest master...
WARNING: ArrayViews is fixed at 0.4.1+ conflicting with requirement for
Distributions: [0.4.3-,∞)
WARNING: PDMats is fixed at 0.1.1+ conflicting with requirement for
Distributions: [0.2.2-,∞)
ERROR: fixed packages introduce conflicting requirements for StatsBase:
         Distributions requires versions [0.5.1-,∞) [none of the available
versions can satisfy this requirement]
       available versions are 0.0.0, 0.2.0, 0.2.1, 0.2.3, 0.2.4, 0.2.5,
0.2.6, 0.2.7, 0.2.8, 0.2.9, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5,
0.3.6, 0.3.7, 0.3.8 and 0.3.9
 in error at error.jl:21
 in check_requirements at pkg/query.jl:109
 in resolve at ./pkg/entry.jl:387
 in resolve at pkg/entry.jl:371
 in anonymous at pkg/entry.jl:189
 in transact at pkg/git.jl:81
 in _checkout at pkg/entry.jl:181
 in checkout at pkg/entry.jl:196
 in anonymous at pkg/dir.jl:28
 in cd at ./file.jl:20
 in cd at pkg/dir.jl:28
 in checkout at pkg.jl:34

So, I will try to checkout version 0.3 of Julia and see what happens. It
seems that this problem with Cholesky is a very common issue, but so far I
couldn't find a good solution for it in the forums in internet.

Best,

Charles

On Tue, Sep 23, 2014 at 11:45 PM, Tim Holy <tim.h...@gmail.com> wrote:

> I assume you're building julia from master. One likely cure is to check out
> the release-0.3 branch and stick with that. Alternatively, see if you can
> update Distributions so it works on 0.4-dev.
>
> Best
> --Tim
>
> On Tuesday, September 23, 2014 11:08:40 PM Charles Novaes de Santana wrote:
> > Dear Julia users,
> >
> > I was trying to use package Distributions, but I got the following error:
> >
> > julia> using Distributions
> > Warning: could not import Base.add! into NumericExtensions
> > Warning: could not import Base.add! into PDMats
> > ERROR: Cholesky not defined
> >  in include at ./boot.jl:246
> >  in include_from_node1 at ./loading.jl:128
> >  in reload_path at loading.jl:152
> >  in _require at loading.jl:67
> >  in require at loading.jl:54
> >  in include at ./boot.jl:246
> >  in include_from_node1 at ./loading.jl:128
> >  in reload_path at loading.jl:152
> >  in _require at loading.jl:67
> >  in require at loading.jl:51
> > while loading /home/charles/.julia/PDMats/src/PDMats.jl, in expression
> > starting on line 31
> > while loading /home/charles/.julia/Distributions/src/Distributions.jl, in
> > expression starting on line 4
> >
> > I found some posts about the same problem. One of the most recent is this
> > one: https://github.com/JuliaLang/julia/issues/6436
> >
> > However, even after running "Pkg.update()" the error continues.
> >
> > Any idea about it?
> >
> > My versiton of Julia is: Version 0.4.0-dev+734 (2014-09-23 18:22 UTC)
> >
> > Thank you for any comment!
> >
> > Best,
> >
> > Charles
>
>


-- 
Um axé! :)

--
Charles Novaes de Santana, PhD
http://www.imedea.uib-csic.es/~charles

Reply via email to