Stream: helpdesk (published)

Topic: CSV causing install problems


view this post on Zulip Dale Black (May 09 2021 at 23:02):

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?

view this post on Zulip Dale Black (May 09 2021 at 23:07):

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>

view this post on Zulip Florian Große (May 10 2021 at 05:11):

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

view this post on Zulip Florian Große (May 10 2021 at 05:11):

Can you install CSV directly?

view this post on Zulip Dale Black (May 10 2021 at 05:13):

No I can’t

view this post on Zulip Dale Black (May 10 2021 at 05:13):

Maybe I will ask in the slack channel if no one has any ideas

view this post on Zulip Kwaku Oskin (May 10 2021 at 05:34):

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

view this post on Zulip Kwaku Oskin (May 10 2021 at 05:35):

Another thing that you can try is to install specific version of DICOM

pkg> add DICOM@0.10.0

view this post on Zulip Fredrik Ekre (May 10 2021 at 07:00):

You probably have a corrupt registry. Try pkg> registry rm General and pkg> registry add General.

view this post on Zulip Dale Black (May 10 2021 at 13:41):

That fixed it! Is there any way to know how the registry got corrupted?

view this post on Zulip Fredrik Ekre (May 10 2021 at 13:42):

no known versions was the clue, means probably some file were missing.

view this post on Zulip Kevin Bonham (May 11 2021 at 15:52):

@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

view this post on Zulip Kwaku Oskin (May 11 2021 at 18:05):

Ah, this is good to know.
Is it possible to do through command line arguments?

view this post on Zulip Mosè Giordano (May 11 2021 at 19:56):

Not exactly what you're asking, but you can do julia --project=$(mktemp -d)


Last updated: Nov 22 2024 at 04:41 UTC