-
-
Notifications
You must be signed in to change notification settings - Fork 612
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR: LoadError: UndefVarError: showarray not defined #338
Comments
Please checkout #269. Any fixings on 0.7 are welcomed. |
Will close this for now, but let us know if there's any issues on that branch |
Actually I could not figure out how to checkout a specific branch under Julia 0.7 as Pkg.develop("Flux#julia-0.7")
Cloning git-repo `Flux#julia-0.7`
ERROR: failed to clone from Flux#julia-0.7, error: GitError(Code:ERROR, Class:Net, unsupported URL protocol)
Pkg.add("Flux#julia-0.7")
Cloning git-repo `Flux#julia-0.7`
ERROR: failed to clone from Flux#julia-0.7, error: GitError(Code:ERROR, Class:Net, unsupported URL protocol)
Pkg.add(Pkg.PackageSpec(name="Flux", version="julia-0.7"))
ERROR: MethodError: no method matching Pkg.Types.PackageSpec(; name="Flux", version="julia-0.7")
Closest candidates are:
Pkg.Types.PackageSpec() at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/Pkg/src/Types.jl:161 got unsupported keyword arguments "name", "version"
Pkg.Types.PackageSpec(::AbstractString) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/Pkg/src/Types.jl:169 got unsupported keyword arguments "name", "version"
Pkg.Types.PackageSpec(::AbstractString, ::Base.UUID) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/Pkg/src/Types.jl:167 got unsupported keyword arguments "name", "version"
|
You probably want the docs for Pkg.jl. There's a new repl mode you can access with |
Thanks a lot! But is it expected to behave with (v0.7) pkg> add Flux#julia-0.7
Cloning git-repo `https://github.com/FluxML/Flux.jl.git`
Updating git-repo `https://github.com/FluxML/Flux.jl.git`
┌ Warning: project file for Flux at /tmp/tmpHkj3BC is missing a `version` entry
└ @ Pkg.Types /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/Pkg/src/Types.jl:615
Resolving package versions...
┌ Warning: project file for Flux is missing a `version` entry
└ @ Pkg.Operations /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/Pkg/src/Operations.jl:151
Updating `~/.julia/environments/v0.7/Project.toml`
[587475ba] ↑ Flux v0.5.3 ⇒ v0.5.3+ #julia-0.7 (https://github.com/FluxML/Flux.jl.git)
Updating `~/.julia/environments/v0.7/Manifest.toml`
[a237f610] - DataFlow v0.3.1
[587475ba] ↑ Flux v0.5.3 ⇒ v0.5.3+ #julia-0.7 (https://github.com/FluxML/Flux.jl.git)
[e5e0dc1b] - Juno v0.5.1
[50d2b5c4] - Lazy v0.12.1
[e89f7d12] - Media v0.4.0
[e1d29d7a] + Missings v0.2.10
[a2af1166] + SortingAlgorithms v0.3.0
[2913bbd2] + StatsBase v0.24.0
[9abbd945] - Profile
(v0.7) pkg> develop Flux#julia-0.7
Cloning git-repo `https://github.com/FluxML/Flux.jl.git`
Updating git-repo `https://github.com/FluxML/Flux.jl.git`
┌ Warning: project file for Flux at /tmp/tmpijtxwH is missing a `version` entry
└ @ Pkg.Types /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/Pkg/src/Types.jl:615
Resolving package versions...
┌ Warning: project file for Flux is missing a `version` entry
└ @ Pkg.Operations /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/Pkg/src/Operations.jl:151
Updating `~/.julia/environments/v0.7/Project.toml`
[587475ba] ~ Flux v0.5.3+ #julia-0.7 (https://github.com/FluxML/Flux.jl.git) ⇒ v0.5.3+ [`~/.julia/dev/Flux`]
Updating `~/.julia/environments/v0.7/Manifest.toml`
[587475ba] ~ Flux v0.5.3+ #julia-0.7 (https://github.com/FluxML/Flux.jl.git) ⇒ v0.5.3+ [`~/.julia/dev/Flux`]
(v0.7) pkg> add Flux#julia-0.7
Updating git-repo `https://github.com/FluxML/Flux.jl.git`
┌ Warning: project file for Flux at /home/sebastian/.julia/packages/Flux/trfu is missing a `version` entry
└ @ Pkg.Types /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/Pkg/src/Types.jl:615
Resolving package versions...
┌ Warning: project file for Flux is missing a `version` entry
└ @ Pkg.Operations /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/Pkg/src/Operations.jl:151
Updating `~/.julia/environments/v0.7/Project.toml`
[587475ba] ~ Flux v0.5.3+ [`~/.julia/dev/Flux`] ⇒ v0.5.3+ #julia-0.7 (https://github.com/FluxML/Flux.jl.git)
Updating `~/.julia/environments/v0.7/Manifest.toml`
[587475ba] ~ Flux v0.5.3+ [`~/.julia/dev/Flux`] ⇒ v0.5.3+ #julia-0.7 (https://github.com/FluxML/Flux.jl.git) |
That's fine for now. You'll get a lot of warnings, which I'm in the process of clearing up. |
Hey Mike,
just tried to use Julia 0.7, but could not compile Flux with
using Flux
. Do I have to checkout a certain branch? And if so how?Greetings!
I think this one is a similar issue:
jump-dev/JuMP.jl#1177
building is fine...
but using causes trouble:
The text was updated successfully, but these errors were encountered: