After running Pkg.init()
and Pkg.Update()
, I am still unable to load the Dates package:
Using either: Pkg.add("Dates")
ErrorException("Dates's requirements can't be satisfied because of the following fixed packages: julia")
Or double clicking 'Dates' in the packages window of Julia Studio I receive the error (adding Dates): julia> adding Dates
julia> using Dates
ErrorException("Dates not found")
I have uninstalled everything and reinstalled but still same error. I am running Julia Studio 0.4.4 64 bit.
Any ideas how to fix this? Thanks
Dates.jl
is only available on Julia 0.3 or higher. If you are using Julia 0.2 you should use Datetime.jl
(which is no longer supported but should still work).
Julia development is moving quick, so it'd be best to upgrade to Julia 0.3, or complain to the JuliaStudio developers so they upgrade the bundled version of Julia.