JuliaData / CSV.jl

Utility library for working with CSV and other delimited files in the Julia programming language
https://csv.juliadata.org/
Other
470 stars 140 forks source link

CSV precompile error #1044

Open gacuna2 opened 1 year ago

gacuna2 commented 1 year ago

Good evening all!

I'm trying to use CSV but I have the following error:

⌃ [336ed68f] CSV v0.5.23 ⌅ [324d7699] CategoricalArrays v0.7.7 ⌃ [944b1d66] CodecZlib v0.6.0 ⌅ [a93c6f00] DataFrames v0.19.4 ⌅ [48062228] FilePathsBase v0.7.0 ⌅ [69de0a69] Parsers v0.3.12 ⌅ [2dfb63ee] PooledArrays v0.5.3 ⌅ [bd369af6] Tables v0.2.11 ⌅ [ea10d353] WeakRefStrings v0.6.2 [ade2ca70] Dates @stdlib/Dates [a63ad114] Mmap @stdlib/Mmap [9a3f8284] Random @stdlib/Random [8dfed614] Test @stdlib/Test [4ec0a83e] Unicode @stdlib/Unicode Status C:\Users\Gabriela\AppData\Local\Temp\jl_cLhoT9\Manifest.toml [b99e7846] BinaryProvider v0.5.10 ⌃ [336ed68f] CSV v0.5.23 ⌅ [324d7699] CategoricalArrays v0.7.7 ⌃ [944b1d66] CodecZlib v0.6.0 ⌅ [34da2185] Compat v2.2.1 [9a962f9c] DataAPI v1.12.0 ⌅ [a93c6f00] DataFrames v0.19.4 ⌃ [864edb3b] DataStructures v0.17.20 [e2d170a0] DataValueInterfaces v1.0.0 ⌅ [48062228] FilePathsBase v0.7.0 [41ab1584] InvertedIndices v1.1.0 [82899510] IteratorInterfaceExtensions v1.0.0 ⌃ [682c06a0] JSON v0.21.1 ⌅ [e1d29d7a] Missings v0.4.5 [bac558e1] OrderedCollections v1.4.1 ⌅ [69de0a69] Parsers v0.3.12 ⌅ [2dfb63ee] PooledArrays v0.5.3 ⌅ [189a3867] Reexport v0.2.0 ⌅ [a2af1166] SortingAlgorithms v0.3.1 [3783bdb8] TableTraits v1.0.1 ⌅ [bd369af6] Tables v0.2.11 [3bb67fe8] TranscodingStreams v0.9.9 ⌅ [ea10d353] WeakRefStrings v0.6.2 [0dad84c5] ArgTools v1.1.1 @stdlib/ArgTools [56f22d72] Artifacts @stdlib/Artifacts [2a0f44e3] Base64 @stdlib/Base64 [ade2ca70] Dates @stdlib/Dates [8bb1440f] DelimitedFiles @stdlib/DelimitedFiles [8ba89e20] Distributed @stdlib/Distributed [f43a241f] Downloads v1.6.0 @stdlib/Downloads [7b1f6079] FileWatching @stdlib/FileWatching [9fa8497b] Future @stdlib/Future [b77e0a4c] InteractiveUtils @stdlib/InteractiveUtils [b27032c2] LibCURL v0.6.3 @stdlib/LibCURL [76f85450] LibGit2 @stdlib/LibGit2 [8f399da3] Libdl @stdlib/Libdl [37e2e46d] LinearAlgebra @stdlib/LinearAlgebra [56ddb016] Logging @stdlib/Logging [d6f4376e] Markdown @stdlib/Markdown [a63ad114] Mmap @stdlib/Mmap [ca575930] NetworkOptions v1.2.0 @stdlib/NetworkOptions [44cfe95a] Pkg v1.8.0 @stdlib/Pkg [de0858da] Printf @stdlib/Printf [3fa0cd96] REPL @stdlib/REPL [9a3f8284] Random @stdlib/Random [ea8e919c] SHA v0.7.0 @stdlib/SHA [9e88b42a] Serialization @stdlib/Serialization [1a1011a3] SharedArrays @stdlib/SharedArrays [6462fe0b] Sockets @stdlib/Sockets [2f01184e] SparseArrays @stdlib/SparseArrays [10745b16] Statistics @stdlib/Statistics [fa267f1f] TOML v1.0.0 @stdlib/TOML [a4e569a6] Tar v1.10.1 @stdlib/Tar [8dfed614] Test @stdlib/Test [cf7118a7] UUIDs @stdlib/UUIDs [4ec0a83e] Unicode @stdlib/Unicode [e66e0078] CompilerSupportLibraries_jll v0.5.2+0 @stdlib/CompilerSupportLibraries_jll [deac9b47] LibCURL_jll v7.84.0+0 @stdlib/LibCURL_jll [29816b5a] LibSSH2_jll v1.10.2+0 @stdlib/LibSSH2_jll [c8ffd9c3] MbedTLS_jll v2.28.0+0 @stdlib/MbedTLS_jll [14a3606d] MozillaCACerts_jll v2022.2.1 @stdlib/MozillaCACerts_jll [4536629a] OpenBLAS_jll v0.3.20+0 @stdlib/OpenBLAS_jll [83775a58] Zlib_jll v1.2.12+3 @stdlib/Zlib_jll [8e850b90] libblastrampoline_jll v5.1.1+0 @stdlib/libblastrampoline_jll [8e850ede] nghttp2_jll v1.48.0+0 @stdlib/nghttp2_jll [3f19e933] p7zip_jll v17.4.0+0 @stdlib/p7zip_jll Info Packages marked with ⌃ and ⌅ have new versions available, but those with ⌅ are restricted by compatibility constraints from upgrading. Precompiling project... ✗ BinaryProvider ✗ CSV ✗ CodecZlib 0 dependencies successfully precompiled in 4 seconds. 26 already precompiled. 3 dependencies errored. To see a full report either run import Pkg; Pkg.precompile() or load the packages Testing Running tests... ERROR: LoadError: ccall method definition: argument 1 type doesn't correspond to a C type

I already tried to uninstall/install again Julia, update the package, remove it , add it, build , any Ideas of what else I can do? Thank you so much!

nickrobinson251 commented 1 year ago

The CSV.jl version CSV v0.5.23 is now really old and not really supported. The latest version is v0.10. Is it possible for you to update to a newer CSV.jl version?

Effsugna commented 1 year ago

Also having this error with precompiling CSV and Binary Provider packages. I have uninstalled and reinstalled Julia, all packages/dependencies and still receiving same error. Anyone found a work around for this? Does the c cal method definition mean that CSV needs C libraries that aren’t installed on the pc yet?