I tried the Launch Week Day 2 example on a newly installed Livebook v0.9.1 running on Windows 11. As in the Day 2 video, I created a new notebook and added a neural network smart cell. I confirmed the popup to add the kino_bumblebee
and torchx
dependencies and restart. After some time and much output, it fails.
The notebook setup created automatically is:
Mix.install(
[
{:kino_bumblebee, "~> 0.2.1"},
{:torchx, "~> 0.5.1"}
],
config: [nx: [default_backend: Torchx.Backend]]
)
The error message is:
==> 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", update it with "mix deps.update torchx" or clean it with "mix deps.clean torchx"
** (Mix.Error) "nmake" not found in the path. If you have set the MAKE environment variable,
please make sure it is correct.
(mix 1.14.2) lib/mix.ex:513: Mix.raise/2
(elixir_make 0.7.6) lib/elixir_make/compiler.ex:120: ElixirMake.Compiler.cmd/5
(elixir_make 0.7.6) lib/elixir_make/compiler.ex:97: ElixirMake.Compiler.make/2
(elixir_make 0.7.6) lib/elixir_make/compiler.ex:53: ElixirMake.Compiler.compile/1
(mix 1.14.2) lib/mix/task.ex:421: anonymous fn/3 in Mix.Task.run_task/4
(mix 1.14.2) lib/mix/tasks/compile.all.ex:92: Mix.Tasks.Compile.All.run_compiler/2
(mix 1.14.2) lib/mix/tasks/compile.all.ex:72: Mix.Tasks.Compile.All.compile/4
#cell:setup:1: (file)
I notice that the video shows different dependencies: kino_bumblebee
and exla
.
What other dependencies and setup steps do I need to run the neural network examples in Livebook on Windows?