Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Julia does not update its packages

Tags:

julia

I installed DifferentialEquations by using:

Pkg.add("DifferentialEquations")

Then I used the below line to check the version:

Pkg.status("DifferentialEquations")

It returns 1.0.0 while, it must be 4.0.0.

I tried Pkg.update() or Pkg.update("DifferentialEquations). However, the version is still 1.0.0 and re-installing Julia did not help neither.

What can be done to update the DifferentialEqautions package?

The version of Julia is 0.6.2.

Edit

This time I not only uninstalled Julia, but I also deleted its folder in appdata. After installing Julia again and adding the package, now it is up to date.

like image 292
MOON Avatar asked Jan 19 '26 14:01

MOON


1 Answers

Have you tried :

Pkg.pin("DifferentialEquations",v"4.0.0")
like image 111
A. Colonna Avatar answered Jan 21 '26 07:01

A. Colonna