JuliaData / Feather.jl

Read and write feather files in pure Julia
https://juliadata.github.io/Feather.jl/stable
Other
109 stars 27 forks source link

Can't install on julia1.0 #103

Closed dengfei2013 closed 5 years ago

dengfei2013 commented 5 years ago

Hello, I want to ask when the Feather will support the Julia1.0. Many thanks.

ExpandingMan commented 5 years ago

Feather does support 1.0, in fact, as of the last release, it only supports 1.0. What error are you getting?

dengfei2013 commented 5 years ago

I want to install the Feather, here is my code:

julia> using Pkg
julia> Pkg.add("Feather")

And the Error message:

julia> Pkg.add("Feather")
ERROR: The following package names could not be resolved:
 * Feather (not found in project, manifest or registry)
Please specify by known `name=uuid`.
Stacktrace:
 [1] pkgerror(::String) at /home/julia/worker/juliapro-release-centos7-0_6/build/tmp_julia/share/julia/stdlib/v1.0/Pkg/src/Types.jl:121
 [2] #ensure_resolved#43(::Bool, ::Function, ::Pkg.Types.EnvCache, ::Array{Pkg.Types.PackageSpec,1}) at /home/julia/worker/juliapro-release-centos7-0_6/build/tmp_julia/share/julia/stdlib/v1.0/Pkg/src/Types.jl:897
 [3] #ensure_resolved at ./none:0 [inlined]
 [4] #add_or_develop#13(::Symbol, ::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /home/julia/worker/juliapro-release-centos7-0_6/build/tmp_julia/share/julia/stdlib/v1.0/Pkg/src/API.jl:59
 [5] #add_or_develop at ./none:0 [inlined]
 [6] #add_or_develop#12 at /home/julia/worker/juliapro-release-centos7-0_6/build/tmp_julia/share/julia/stdlib/v1.0/Pkg/src/API.jl:29 [inlined]
 [7] #add_or_develop at ./none:0 [inlined]
 [8] #add_or_develop#11 at /home/julia/worker/juliapro-release-centos7-0_6/build/tmp_julia/share/julia/stdlib/v1.0/Pkg/src/API.jl:28 [inlined]
 [9] #add_or_develop at ./none:0 [inlined]
 [10] #add_or_develop#10 at /home/julia/worker/juliapro-release-centos7-0_6/build/tmp_julia/share/julia/stdlib/v1.0/Pkg/src/API.jl:27 [inlined]
 [11] #add_or_develop at ./none:0 [inlined]
 [12] #add#18 at /home/julia/worker/juliapro-release-centos7-0_6/build/tmp_julia/share/julia/stdlib/v1.0/Pkg/src/API.jl:69 [inlined]
 [13] add(::String) at /home/julia/worker/juliapro-release-centos7-0_6/build/tmp_julia/share/julia/stdlib/v1.0/Pkg/src/API.jl:69
 [14] top-level scope at none:0

Do you have any suggestions? Many thanks.

dengfei2013 commented 5 years ago

I find a solution: Rename or delete the "registries" directory. Then use the code to install Feather:

julia> using RData

julia> Pkg.add("Feather")
 Resolving package versions...
 Installed Feather ───── v0.5.0
 Installed FlatBuffers ─ v0.4.0
 Installed Arrow ─────── v0.2.2
  Updating `/opt/Julia/JuliaPro-1.0.1.1/JuliaPro/pkgs-1.0.1.1/environments/JuliaPro_v1.0.1.1/Project.toml`
  [becb17da] + Feather v0.5.0
  Updating `/opt/Julia/JuliaPro-1.0.1.1/JuliaPro/pkgs-1.0.1.1/environments/JuliaPro_v1.0.1.1/Manifest.toml`
  [69666777] + Arrow v0.2.2
  [becb17da] + Feather v0.5.0
  [53afe959] + FlatBuffers v0.4.0

julia> 
ExpandingMan commented 5 years ago

Yeah, it seems that somehow your local copy of the registry got screwed up and was unable to update. Not sure how that happened. Glad you got it working.