Closed LWKJJONAK closed 4 years ago
Could you please open a Julia REPL and type ] st
to show the version information. Please also check your Julia version, better use latest 1.3.
In the latest version of YaoExtensions (0.2.0 or 0.2.1), we don't have Sequential
type. It was renamed to Sequence
several versions ago.
Could you please open a Julia REPL and type
] st
to show the version information. Please also check your Julia version, better use latest 1.3.
I was using julia-1.0.5 then. Just download the 1.3 version and now I'm having a try.
This is because the compat
was written as 1.3
, thus if you use julia earlier than 1.3, it will only install previous compatible version of YaoExtensions. I'll be working on this compatibility issue.
Update: this is fixed earlier by https://github.com/QuantumBFS/YaoExtensions.jl/commit/1bb2036f373a5d2ed925fad427645572039e98c0 which is already registered I believe if you type update
in the pkg mode, it will be updated to latest version that is compatible with Julia 1.0 and Yao 0.6
This is because the
compat
was written as1.3
, thus if you use julia earlier than 1.3, it will only install previous compatible version of YaoExtensions. I'll be working on this compatibility issue.Update: this is fixed earlier by 1bb2036 which is already registered I believe if you type
update
in the pkg mode, it will be updated to latest version that is compatible with Julia 1.0 and Yao 0.6
Yeah now it works on both 1.0.5 (after update) and 1.3.0. Thank you and Liu for your time!
I update the Yao and YaoExtensions today and then YaoExtensions cannot be used:
ERROR: LoadError: LoadError: UndefVarError: Sequential not defined
the detail info is this: `julia> using YaoExtensions[ Info: Precompiling YaoExtensions [7a06699c-c960-11e9-3c98-9f78548b5f0f] WARNING: Method definition length(Base.Broadcast.Broadcasted{Style, Axes, F, Args} where Args<:Tuple where F where Axes where Style<:Union{Nothing, Base.Broadcast.BroadcastStyle}) in module Broadcast at broadcast.jl:236 overwritten in module LuxurySparse at /home/w/.julia/packages/LuxurySparse/uj6P5/src/broadcast.jl:11.
ERROR: LoadError: LoadError: UndefVarError: Sequential not defined Stacktrace: [1] top-level scope at none:0 [2] include at ./boot.jl:317 [inlined] [3] include_relative(::Module, ::String) at ./loading.jl:1044 [4] include at ./sysimg.jl:29 [inlined] [5] include(::String) at /home/w/.julia/packages/YaoExtensions/VAbtx/src/YaoExtensions.jl:1 [6] top-level scope at none:0 [7] include at ./boot.jl:317 [inlined] [8] include_relative(::Module, ::String) at ./loading.jl:1044 [9] include(::Module, ::String) at ./sysimg.jl:29 [10] top-level scope at none:2 [11] eval at ./boot.jl:319 [inlined] [12] eval(::Expr) at ./client.jl:393 [13] top-level scope at ./none:3
in expression starting at /home/w/.julia/packages/YaoExtensions/VAbtx/src/Diff.jl:61 in expression starting at /home/w/.julia/packages/YaoExtensions/VAbtx/src/YaoExtensions.jl:15
ERROR: Failed to precompile YaoExtensions [7a06699c-c960-11e9-3c98-9f78548b5f0f] to /home/w/.julia/compiled/v1.0/YaoExtensions/lw60t.ji. Stacktrace: [1] error(::String) at ./error.jl:33 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1203 [3] _require(::Base.PkgId) at ./loading.jl:960 [4] require(::Base.PkgId) at ./loading.jl:858 [5] require(::Module, ::Symbol) at ./loading.jl:853`