You are not logged in.

#1 2015-02-09 00:40:43

nstgc
Member
Registered: 2014-03-17
Posts: 393

Issues importing/"using" date/datetime in Julia. Is it even present?

I'm trying use the Date or DateTime in a script, which requires that I user "import Dates" or "using Dates". However, it can't find the module. I checked the the file list on the package info list and it doesn't seem to be present. Could someone confirm that this is the case?

[edit] I can confirm that I was doing everything correctly. I switch to julia-git in AUR, and its working fine after I added the path ( push!(LOAD_PATH,"/usr/share/julia/base") ). I'd still like it if someone could confirm that I'm not just looking in the wrong place.

Last edited by nstgc (2015-02-09 00:58:01)

Offline

#2 2015-02-10 10:24:36

Stalafin
Member
From: Berlin, Germany
Registered: 2007-10-26
Posts: 617

Re: Issues importing/"using" date/datetime in Julia. Is it even present?

I am confused. Did you at some point execute the following?

Julia> Pkg.add("Dates")

If you did not, why would Julia have that module present?

Offline

#3 2015-02-24 17:56:55

nstgc
Member
Registered: 2014-03-17
Posts: 393

Re: Issues importing/"using" date/datetime in Julia. Is it even present?

Stalafin wrote:

I am confused. Did you at some point execute the following?

Julia> Pkg.add("Dates")

If you did not, why would Julia have that module present?


From what I had read no such thing was necessary. Can Julia go on-line and install modules by itself without root permission?

Offline

#4 2015-02-27 15:15:34

xyproto
Package Maintainer (PM)
From: Oslo
Registered: 2011-01-11
Posts: 43
Website

Re: Issues importing/"using" date/datetime in Julia. Is it even present?

Hi, package maintainer of julia here.

Is this still a problem with the official package? If it is, please file a bug report at https://bugs.archlinux.org/ (or report an issue for the Julia developers at https://github.com/JuliaLang/julia/issues, if you think it's an upstream issue).

If there should be anything wrong with the PKGBUILD, I would be happy to try and fix it. The bugtracker makes sure the issue gets a proper follow-up and closure.

Offline

#5 2015-03-09 22:03:20

nstgc
Member
Registered: 2014-03-17
Posts: 393

Re: Issues importing/"using" date/datetime in Julia. Is it even present?

Sorry for the late reply. No, this module is still not included in the installation as far as I can tell as of today. Do know that today I merely checked "/usr/share/julia/base", however last time I checked it was no where to be seen. I also tried "julia> import Dates".

Also /usr/share/julia/base is not in the load path.

julia> LOAD_PATH
2-element Array{Union(ASCIIString,UTF8String),1}:
 "/usr/local/share/julia/site/v0.3"
 "/usr/share/julia/site/v0.3"

I don't know if this is a bug or if this version just doesn't include this package.

Offline

Board footer

Powered by FluxBB