ghannam80

ghannam80

Compile error while installing dependencies in livebook

Hello,

Getting the below error while trying to install the dependencies for smart cell neural network in livebook , I got this error after running it in iex :

Blockquote
Generated kino_bumblebee app
==> torchx
could not compile dependency :torchx, “mix compile” failed. Errors may have been logged above. You can recompile this dependency with “mix deps.compile torchx --force”, update it with “mix deps.update torchx” or clean it with “mix deps.clean torchx”
** (MatchError) no match of right hand side value: {:error, :bad_eocd}
c:/Users/ashra/AppData/Local/mix/Cache/installs/elixir-1.17.0-erts-15.0/9574f12e35c9dbee311aad4b1aba0134/deps/torchx/mix.exs:164: Torchx.MixProject.download_and_unzip/2
(mix 1.17.0) lib/mix/task.ex:574: Mix.Task.run_alias/6
(mix 1.17.0) lib/mix/tasks/compile.all.ex:108: Mix.Tasks.Compile.All.run_compiler/2
(mix 1.17.0) lib/mix/tasks/compile.all.ex:88: Mix.Tasks.Compile.All.compile/4
(mix 1.17.0) lib/mix/tasks/compile.all.ex:62: Mix.Tasks.Compile.All.run/1
(mix 1.17.0) lib/mix/task.ex:495: anonymous fn/3 in Mix.Task.run_task/5
(mix 1.17.0) lib/mix/tasks/compile.ex:159: Mix.Tasks.Compile.run/1
‘’‘’‘’

Marked As Solved

jonatanklosko

jonatanklosko

Creator of Livebook

@ghannam80 that makes sense, thanks for debugging, probably something we can improve in the installer.

I think for the torchx installation, you can open an issue on torchx directly.

Also Liked

jonatanklosko

jonatanklosko

Creator of Livebook

Try removing hex-2.0.6 and see if it helps : )

Where Next?

Popular in Questions Top

dotdotdotPaul
Okay, I'm having a heck of a time trying to figure out how to best handle the validation of belongs_to associations in Ecto. I'm sure I'...
New
lessless
I believe there are people here who are dealing with CSV files import on the daily basis, and since Excel is a really popular tool there ...
New
gshaw
What is the idiomatic way of matching for not nil in Elixir? E.g., First way: defp halt_if_not_signed_in(conn, signed_in_account) when...
New
_russellb
I want to try my hand at web scraping. What tools/libraries do I need to use. I’m hoping to turn this into something professional so don’...
New
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New
sacepums
Hey guys. I'm new to elixir and im really stocked about it. But I ran into a bit of problem - I need to convert a date sting, for examp...
New
myronmarston
The Elixir Typespec docs show the following syntax for keyword lists in typespecs: # ... | [key: type] # keyword lis...
New
makeitrein
Hey all, just started picking up Elixir last week and am writing a scraper as a learning project. Baby step #1 is extracting the number ...
New
minhajuddin
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
idi527
I’ve been re-reading swift book again and noticed that multiline strings there don’t have a trailing line break, unlike in elixir iex(2)...
New

Other popular topics Top

sergio
In Ruby, I can go: User.find_by(email: "foobar@email.com").update(email: "hello@email.com") How can I do something similar in Elixir? ...
New
William
I would like to know that is there any online source for learning Phoenix Framework for building E-Commerce Store? Any advantage on build...
New
itssasanka
Hi all, Trying to get some more clarity over utc_datetime and naive_datetime for Ecto: https://hexdocs.pm/ecto/Ecto.Schema.html#module-...
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New
script
If I have a string “1000 cfu/ml” . I want to remove the characters and / and space . So the string is like this "1000" What is the ...
New
myronmarston
The Elixir Typespec docs show the following syntax for keyword lists in typespecs: # ... | [key: type] # keyword lis...
New
mgjohns61585
Could someone help me? I'm making my first elixir program, number guessing game. I can't figure out how to convert the user's guess from ...
New
electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
Qqwy
Original source of discussion: This topic on the Pragmatic Programmers' Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
vrod
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors: [WARN] - (starship::utils): Executing command ...
New

We're in Beta

About us Mission Statement