The same issue, Julia 1.7.1 - Win10 as running Julia in the Atom’s REPL (also with package updates and restarts). However using CSV from a command line REPL solved the problem, and CSV now available in Atom too.
julia> using CSV
[ Info: Precompiling CSV [336ed68f-0bac-5ca0-87d4-7b16caf5d00b]
ERROR: Failed to precompile CSV [336ed68f-0bac-5ca0-87d4-7b16caf5d00b] to C:\Users\elk\.julia\compiled\v1.7\CSV\jl_7A89.tmp.
Stacktrace:
[1] error(s::String)
@ Base .\error.jl:33
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, ignore_loaded_modules::Bool)
@ Base .\loading.jl:1466
[3] compilecache(pkg::Base.PkgId, path::String)
@ Base .\loading.jl:1410
[4] _require(pkg::Base.PkgId)
@ Base .\loading.jl:1120
[5] require(uuidkey::Base.PkgId)
@ Base .\loading.jl:1013
[6] require(into::Module, mod::Symbol)
@ Base .\loading.jl:997
(@v1.7) pkg> status
Status `C:\Users\eben60\.julia\environments\v1.7\Project.toml`
[c52e3926] Atom v0.12.36
[6e4b80f9] BenchmarkTools v1.3.0
[336ed68f] CSV v0.10.2
[5ae59095] Colors v0.12.8
[864edb3b] DataStructures v0.18.11
[9fdde737] DiffEqOperators v4.40.0
[0c46a032] DifferentialEquations v7.1.0
[e30172f5] Documenter v0.26.3
[ba3e091f] Encaps v0.1.1-beta.6 `https://github.com/Eben60/Encaps.jl#master`
[a09fc81d] ImageCore v0.9.3
[6218d12a] ImageMagick v1.2.2
[916415d5] Images v0.25.1
[0f8b85d8] JSON3 v1.9.2
[e5e0dc1b] Juno v0.8.4
[b45899a3] LVServer v0.3.0-beta.3 `C:\_MyOwnDocs\SoftwareDevelopment\LVServer.jl`
[b964fa9f] LaTeXStrings v1.3.0
[b5ef6335] LabVIEW0 v0.2.0-alpha.1 `C:\_MyOwnDocs\SoftwareDevelopment\LabVIEW0.jl#dev`
[86f7a689] NamedArrays v0.9.6
[e7bfaba1] NumericalIntegration v0.3.3
[bac558e1] OrderedCollections v1.4.1
[1dea7af3] OrdinaryDiffEq v6.6.6
[d96e819e] Parameters v0.12.3
[d254efa0] PkgSkeleton v0.4.0
[eebad327] PkgVersion v0.1.1
[91a5bcdd] Plots v1.25.9
[27ebfcd6] Primes v0.5.1
[189a3867] Reexport v1.2.2
[295af30f] Revise v3.3.1
[276daf66] SpecialFunctions v2.1.2
[9672c7b4] SteadyStateDiffEq v1.6.6
[24249f21] SymPy v1.1.4
[bd369af6] Tables v1.6.1
[5e47fb64] TestImages v1.6.2
[3a884ed6] UnPack v1.0.2
[1986cc42] Unitful v1.11.0
[42071c24] UnitfulRecipes v1.5.3
[c2297ded] ZMQ v1.2.1
julia> versioninfo()
Julia Version 1.7.1
Commit ac5cc99908 (2021-12-22 19:35 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-12.0.1 (ORCJIT, skylake)
Environment:
JULIA_EDITOR = "C:\Users\eben60\AppData\Local\atom\app-1.59.0\atom.exe" -a
JULIA_NUM_THREADS = 4