hands-on-music-generation-with-magenta icon indicating copy to clipboard operation
hands-on-music-generation-with-magenta copied to clipboard

Problem installing Magenta 2.0.1 on Windows 10

Open nak21 opened this issue 3 years ago • 6 comments

Using the command : python -m pip install magenta==2.0.1, I get the following error :

ERROR: Could not find a version that satisfies the requirement jaxlib>=0.1.51 (from dopamine-rl->tensor2tensor->magenta==2.0.1) (from versions: none) ERROR: No matching distribution found for jaxlib>=0.1.51 (from dopamine-rl->tensor2tensor->magenta==2.0.1)

I think I know whats going on, but don't know what to do about it. It looks like there is no version of jaxlib for Windows. Dopamine added Jax support in March. Is there a workaround this problem other than setting up a Windows Subsystem for Linux?

nak21 avatar Aug 17 '20 19:08 nak21

I was able to reproduce. Unfortunately, it seems that Magenta (now?) depends on Jax, which is not supported on Windows (at least not out of the box), see google/jax#438. I'm looking at a workaround.

dubreuia avatar Sep 06 '20 21:09 dubreuia

@nak21 You can use Magenta 1.1.7, which is the version that I wrote the book on (I made sure everything works on Windows).

I'm subscribed to the issue on Google's side, when it is fixed, I'll test it and notify you.

Keeping this issue open until this is fixed

dubreuia avatar Sep 06 '20 21:09 dubreuia

@nak21 Jax is now supported on Windows! https://github.com/google/jax/issues/438

I'll try to build it and see if I can make Magenta work with it.

dubreuia avatar Nov 26 '20 15:11 dubreuia

Curious to know if this issue was sorted out - I will be starting on the book exercises soon on a Windows 10 machine. Is the TF 2 version working for windows, or should I use the TF 1 version?

JeremyKeenan avatar Jan 14 '21 14:01 JeremyKeenan

@JeremyKeenan Didn't get the change to test yet, I'll try this weekend and let you know

dubreuia avatar Jan 20 '21 21:01 dubreuia

I tried installing it It still didn't work . I downloaded the visual basic installer to download some stuff it required for my system and it still didn't work i don't know why... Please can anyone help out 🤲🏿

reedington avatar Sep 20 '23 21:09 reedington