It seems like the CSV.jl package is causing problems for different packages when I try to install them
(@v1.6) pkg> add DICOM
Resolving package versions...
ERROR: Unsatisfiable requirements detected for package CSV [336ed68f]:
CSV [336ed68f] log:
├─CSV [336ed68f] has no known versions!
└─restricted to versions * by an explicit requirement — no versions left
(@v1.6) pkg> update Pluto
ERROR: Unsatisfiable requirements detected for package CSV [336ed68f]:
CSV [336ed68f] log:
├─CSV [336ed68f] has no known versions!
└─restricted to versions 0.8.4 by an explicit requirement — no versions left
Can anyone help point out what I am doing wrong?
In case this is important at all
julia> versioninfo()
Julia Version 1.6.1
Commit 6aaedecc44 (2021-04-23 05:59 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin18.7.0)
CPU: Apple M1
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-11.0.1 (ORCJIT, westmere)
julia>
The mesaages don't actually contain a version conflict, which is weird. I'm not really deep into Pkg magic but my best bet would be a broken Registry of some kind
Can you install CSV directly?
No I can’t
Maybe I will ask in the slack channel if no one has any ideas
Have you tried to do it in a fresh session?
i.e. in your shell
mkdir /tmp/1
cd /tmp/1
julia --project=.
and after that make a add CSV DICOM
Another thing that you can try is to install specific version of DICOM
pkg> add DICOM@0.10.0
You probably have a corrupt registry. Try pkg> registry rm General
and pkg> registry add General
.
That fixed it! Is there any way to know how the registry got corrupted?
no known versions
was the clue, means probably some file were missing.
@Andrey Oskin FYI on julia 1.6 you can do ] activate --temp
to make a temporary environment without jumping through the hoops of actually making the directory
Ah, this is good to know.
Is it possible to do through command line arguments?
Not exactly what you're asking, but you can do julia --project=$(mktemp -d)
Last updated: Nov 06 2024 at 04:40 UTC