PacktPublishing / hands-on-music-generation-with-magenta

The "Hands-On Music Generation with Magenta" book code repository and info resource
https://www.packtpub.com/eu/data/hands-on-music-generation-with-magenta
MIT License
154 stars 52 forks source link

Problem installing Magenta 2.0.1 on Windows 10 #11

Open nak21 opened 4 years ago

nak21 commented 4 years ago

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?

dubreuia commented 4 years ago

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 commented 4 years ago

@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 commented 4 years ago

@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.

JeremyKeenan commented 3 years ago

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?

dubreuia commented 3 years ago

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

reedington commented 1 year ago

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 🤲🏿