Hi, as at the time I window-shopped this book months ago, JAX was one of the frameworks listed. But now I can’t find it here again. Is there no longer support for JAX here?
Hey, I bumped into the same problem. Looks it’s from this particular version of gym. If you would install a higher 0.22.0 version by running “pip install git+https://github.com/openai/gym.git@0.22.0”, and then run “pip install d2l==1.0.0b0” to continue the d2l installation, the error could be gone. but not sure if the gym of higher version will break the integrity of d2l 1.0.0 itself at some point.
Hi, when I type “jupyter notebook” in the command prompt, I did not see any of the course folder in the localhost website. I only see my old ipynb files from past coursework. What should I do?
Instead of conda, I used uv. Initially I had problems installing torch=2.0.0 such as my Cuda version is 12.2. Thus, I used Python 3.9 with the following dependencies:
Anyone attempting to install d2l into a recent version of python will experience the same problems as PlacideKad above, due to explicit dependencies. Building the binary for the specified version is unlikely to work because of the removal of a deprecated feature in pkgutil. Python 3.12 can use numpy version 1.26+, so until there’s a new release, you can use:
pip install numpy==1.26.4 or pip install "numpy<2" and then install d2l with pip install --no-deps d2l. pip will complain about incompatibilities every time you run it, but the examples may still work. Or they may not. Ideally we would have a release that can work with numpy 2. There has not been a new release since August 2023, which makes me wonder.