RealNeuralNetworks.jl icon indicating copy to clipboard operation
RealNeuralNetworks.jl copied to clipboard

Failure to Precompile - Dependency Issue?

Open N0AHt opened this issue 2 years ago • 4 comments

Hey, I've just started out using Julia and this package looks perfect for a project I'm working on!

However, I've been running into some issues installing the package - I've tried across windows 10 and linux but always run into the same dependency error:


ERROR: The following 1 direct dependency failed to precompile:

RealNeuralNetworks [4491297b-8966-5840-8cb9-b189d60f3398]

Failed to precompile RealNeuralNetworks [4491297b-8966-5840-8cb9-b189d60f3398] to /home/noaht/miniconda3/envs/connectome/share/julia/compiled/v1.8/RealNeuralNetworks/jl_eJlJQ8.
ERROR: LoadError: UndefVarError: Column not defined

I could be missing something simple here, but any help with the problem or to improve my understanding of it would be really appreciated

Full Error:


add RealNeuralNetworks
    Updating registry at `~/miniconda3/envs/connectome/share/julia/registries/General.toml`
   Resolving package versions...
    Updating `~/connectome_julia/Project.toml`
  [4491297b] + RealNeuralNetworks v1.0.1
    Updating `~/connectome_julia/Manifest.toml`
  [621f4979] + AbstractFFTs v1.2.1
⌅ [ec485272] + ArnoldiMethod v0.1.0
  [30b0a656] + ArrayInterfaceCore v0.1.20
  [39de3d68] + AxisArrays v0.4.6
⌃ [c2a8506f] + BigArrays v0.7.0
  [a74b3585] + Blosc v0.7.3
  [fa961155] + CEnum v0.4.2
⌅ [336ed68f] + CSV v0.7.10
  [aafaddc9] + CatIndices v0.2.2
⌅ [324d7699] + CategoricalArrays v0.8.3
  [d360d2e6] + ChainRulesCore v1.15.5
  [9e997f8a] + ChangesOfVariables v0.1.4
  [944b1d66] + CodecZlib v0.7.0
  [6b39b394] + CodecZstd v0.7.2
⌅ [3da002f7] + ColorTypes v0.10.12
⌅ [c3611d14] + ColorVectorSpace v0.8.7
  [5ae59095] + Colors v0.12.8
  [bbf7d656] + CommonSubexpressions v0.3.0
⌅ [34da2185] + Compat v3.46.0
  [ed09eef8] + ComputationalResources v0.3.2
  [187b0558] + ConstructionBase v1.4.1
  [dc8bdbbb] + CustomUnitRanges v1.0.2
  [9a962f9c] + DataAPI v1.10.0
⌅ [a93c6f00] + DataFrames v0.21.8
⌅ [864edb3b] + DataStructures v0.17.20
  [e2d170a0] + DataValueInterfaces v1.0.0
  [e7dc6d0d] + DataValues v0.4.13
  [163ba53b] + DiffResults v1.0.3
  [b552c78f] + DiffRules v1.11.1
  [b4f34e82] + Distances v0.10.7
⌅ [31c24e10] + Distributions v0.23.12
  [ffbed154] + DocStringExtensions v0.9.1
  [4f61f5a4] + FFTViews v0.3.2
  [7a1cc6ca] + FFTW v1.5.0
⌅ [1a297f60] + FillArrays v0.9.7
  [6a86dc24] + FiniteDiff v2.15.0
  [53c48c17] + FixedPointNumbers v0.8.4
  [f6369f11] + ForwardDiff v0.10.32
  [a2bd30eb] + Graphics v1.1.2
⌃ [2803e5a7] + ImageAxes v0.6.9
⌅ [a09fc81d] + ImageCore v0.8.21
⌅ [6a3955dd] + ImageFiltering v0.6.13
⌃ [bc367c6b] + ImageMetadata v0.9.5
⌅ [9b13fd28] + IndirectArrays v0.5.1
  [d25df0c9] + Inflate v0.1.3
  [8197267c] + IntervalSets v0.7.2
  [3587e190] + InverseFunctions v0.1.7
  [41ab1584] + InvertedIndices v1.1.0
  [92d709cd] + IrrationalConstants v0.1.1
  [c8e1da08] + IterTools v1.4.0
  [1c8ee90f] + IterableTables v1.0.0
  [82899510] + IteratorInterfaceExtensions v1.0.0
⌃ [033835bb] + JLD2 v0.4.3
  [692b3bcd] + JLLWrappers v1.4.1
  [682c06a0] + JSON v0.21.3
  [093fc24a] + LightGraphs v1.3.5
  [2ab3a3ac] + LogExpFunctions v0.3.18
⌅ [2fda8390] + LsqFit v0.11.0
  [1914dd2f] + MacroTools v0.5.9
⌅ [dbb5928d] + MappedArrays v0.2.2
  [c03570c3] + Memoize v0.4.4
⌅ [626554b9] + MetaGraphs v0.6.8
⌅ [e1d29d7a] + Missings v0.4.5
⌅ [e94cdb99] + MosaicViews v0.2.4
  [d41bc354] + NLSolversBase v7.8.2
  [77ba4419] + NaNMath v1.0.1
  [b8a86587] + NearestNeighbors v0.4.11
⌅ [6fe1bfb0] + OffsetArrays v0.11.4
  [87e2bd06] + OptimBase v2.0.2
  [bac558e1] + OrderedCollections v1.4.1
⌅ [90014a1f] + PDMats v0.10.1
  [5432bcbf] + PaddedViews v0.5.11
⌅ [69de0a69] + Parsers v1.1.2
⌅ [2dfb63ee] + PooledArrays v0.5.3
  [21216c6a] + Preferences v1.3.0
  [92933f4c] + ProgressMeter v1.7.2
  [1fd47b50] + QuadGK v2.5.0
  [1a8c2f83] + Query v1.0.0
  [2aef5ad7] + QueryOperators v0.9.3
  [b3c3ace0] + RangeArrays v0.3.2
  [4491297b] + RealNeuralNetworks v1.0.1
⌅ [189a3867] + Reexport v0.2.0
  [ae029012] + Requires v1.3.0
  [79098fc4] + Rmath v0.7.0
  [91c51154] + SentinelArrays v1.3.13
  [efcf1570] + Setfield v1.1.1
  [699a6c99] + SimpleTraits v0.9.4
⌅ [a2af1166] + SortingAlgorithms v0.3.1
⌅ [276daf66] + SpecialFunctions v0.10.3
⌅ [90137ffa] + StaticArrays v0.12.5
  [1e83bf80] + StaticArraysCore v1.3.0
  [82ae8749] + StatsAPI v1.5.0
  [2913bbd2] + StatsBase v0.33.21
⌅ [4c63d2b9] + StatsFuns v0.9.7
  [856f2bd8] + StructTypes v1.10.0
  [5e66a065] + TableShowUtils v0.2.5
  [3783bdb8] + TableTraits v1.0.1
  [382cd787] + TableTraitsUtils v1.0.2
  [bd369af6] + Tables v1.7.0
⌅ [06e1c1a7] + TiledIteration v0.2.5
  [3bb67fe8] + TranscodingStreams v0.9.9
  [0b7ba130] + Blosc_jll v1.21.1+0
  [f5851436] + FFTW_jll v3.3.10+0
  [1d5cc7b8] + IntelOpenMP_jll v2018.0.3+2
  [5ced341a] + Lz4_jll v1.9.3+0
  [856f044c] + MKL_jll v2022.1.0+0
  [efe28fd5] + OpenSpecFun_jll v0.5.5+0
  [f50d1b31] + Rmath_jll v0.3.0+0
  [3161d3a3] + Zstd_jll v1.5.2+0
  [0dad84c5] + ArgTools v1.1.1
  [56f22d72] + Artifacts
  [2a0f44e3] + Base64
  [ade2ca70] + Dates
  [8bb1440f] + DelimitedFiles
  [8ba89e20] + Distributed
  [f43a241f] + Downloads v1.6.0
  [7b1f6079] + FileWatching
  [9fa8497b] + Future
  [b77e0a4c] + InteractiveUtils
  [4af54fe1] + LazyArtifacts
  [b27032c2] + LibCURL v0.6.3
  [76f85450] + LibGit2
  [8f399da3] + Libdl
  [37e2e46d] + LinearAlgebra
  [56ddb016] + Logging
  [d6f4376e] + Markdown
  [a63ad114] + Mmap
  [ca575930] + NetworkOptions v1.2.0
  [44cfe95a] + Pkg v1.8.0
  [de0858da] + Printf
  [3fa0cd96] + REPL
  [9a3f8284] + Random
  [ea8e919c] + SHA v0.7.0
  [9e88b42a] + Serialization
  [1a1011a3] + SharedArrays
  [6462fe0b] + Sockets
  [2f01184e] + SparseArrays
  [10745b16] + Statistics
  [4607b0f0] + SuiteSparse
  [fa267f1f] + TOML v1.0.0
  [a4e569a6] + Tar v1.10.0
  ✗ RealNeuralNetworks
  0 dependencies successfully precompiled in 10 seconds. 115 already precompiled.
  1 dependency errored. To see a full report either run `import Pkg; Pkg.precompile()` or load the package

N0AHt avatar Sep 16 '22 21:09 N0AHt

I had this issue on MacOS 12.5.1 on Julia 1.8:

Precompiling project...
  ✗ BinaryProvider
  ✗ HTTP
  ✗ GoogleCloud
  ✗ AWSCore
  ✗ AWSS3
  ✗ BigArrays
  ✗ RealNeuralNetworks
  126 dependencies successfully precompiled in 50 seconds
  7 dependencies errored. To see a full report either run `import Pkg; Pkg.precompile()` or load the packages

william-silversmith avatar Sep 24 '22 21:09 william-silversmith

Windows 10 for me, and Julia 1.8 too.

Did you have any luck with it? I managed to get it running with the docker build but still nothing in my own environment

N0AHt avatar Sep 30 '22 18:09 N0AHt

@N0AHt sorry for the late response. I just noticed this! did you solve the issue?

xiuliren avatar May 12 '23 01:05 xiuliren

could you try

develop RealNeuralNetworks

to install the latest code from master branch? The registered package is outdated.

xiuliren avatar May 26 '23 01:05 xiuliren