Open BenjaminBorn opened 7 years ago
While running Pkg.add("TimeModels") I got the following error message:
Pkg.add("TimeModels")
INFO: Building Datetime ==============================[ ERROR: Datetime ]=============================== LoadError: UndefVarError: int64 not defined while loading /Users/bborn/.julia/v0.5/Datetime/deps/build.jl, in expression starting on line 17 ================================================================================ INFO: Building Tk ================================[ BUILD ERRORS ]================================ WARNING: Datetime had build errors. packages with build errors remain installed in /Users/bborn/.julia/v0.5 build the package(s) and all dependencies with Pkg.build("Datetime") build a single package by running its deps/build.jl script ================================================================================
INFO: Building Datetime ==============================[ ERROR: Datetime ]===============================
LoadError: UndefVarError: int64 not defined while loading /Users/bborn/.julia/v0.5/Datetime/deps/build.jl, in expression starting on line 17
================================================================================ INFO: Building Tk
================================[ BUILD ERRORS ]================================
WARNING: Datetime had build errors.
Pkg.build("Datetime")
deps/build.jl
================================================================================
It seems that the functionality of Datetime (as well as Dates) has been merged into Base: https://github.com/quinnj/Datetime.jl .
using TimeModels then resulted in
using TimeModels
WARNING: Base.ASCIIString is deprecated, use String instead. likely near /Users/bborn/.julia/v0.5/Datetime/src/Timezone.jl:23 LoadError: LoadError: LoadError: MethodError: no method matching getindex(::Pair{DataType,DataType}, ::Pair{String,DataType}, ::Pair{String,DataType}, ...
WARNING: Base.ASCIIString is deprecated, use String instead. likely near /Users/bborn/.julia/v0.5/Datetime/src/Timezone.jl:23
LoadError: LoadError: LoadError: MethodError: no method matching getindex(::Pair{DataType,DataType}, ::Pair{String,DataType}, ::Pair{String,DataType}, ...
My configuration:
Julia Version 0.5.2-pre+1 Commit a6c55c5* (2017-03-06 03:59 UTC) Platform Info: OS: macOS (x86_64-apple-darwin16.4.0) CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz WORD_SIZE: 64 BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NOAFFINITY Haswell) LAPACK: libopenblas64 LIBM: libopenlibm LLVM: libLLVM-3.7.1 (ORCJIT, broadwell)
As it stands, this package is set up to work strictly on Julia 0.4 only. If you're interested in helping to get the package working on Julia 0.5 and 0.6, a pull request would be more than welcome. 🙂
While running
Pkg.add("TimeModels")
I got the following error message:It seems that the functionality of Datetime (as well as Dates) has been merged into Base: https://github.com/quinnj/Datetime.jl .
using TimeModels
then resulted inMy configuration: