Thank you, that helps.
So, I think they should add some content to the zero-byte files, in order to avoid these kind of annoyances.
Thank you, that helps.
So, I think they should add some content to the zero-byte files, in order to avoid these kind of annoyances.
Hi all! I am also using the pytorch version of the notebooks (downloaded today, 25.Oct.20) and get the error that the notebooks cannot be read. There seem to be two reasons for this, both are bugs in the way the d2l team builds the books. One source of errors is the fact that some notebooks havenât added the pytorch code yet. Instead of adding a note saying something like ânot implemented yetâ it just produces a notebook of the size 0. The other source of errors is that those markdown files (which are the source of the notebook files), which donât have a tag âpytorchâ included, are not converted to pytorch notebooks. This includes all index files (and I think generally all files without code). If you have the time, you could fix the first error in the build system (https://github.com/d2l-ai/d2l-book) . The second error needs to be fixed in the markdown files for the book, they need to add a tab all directive there (so I gather from the discussion on the build system). What we can do to get the index files and other text files: copy these files from the mxnet branch. They have no code and work also with the pytorch branch.
Hi @fotis we are working to add the pytorch code blocks for the chapters which are still left. Once those are added the notebook versions of the same will be available.
Probably @mli can shed some light on whether weâll add a âNot Implemented Yetâ mark to the chapters left.
the solution about âNo module named ârequestsââ:
d2l
environment.Hi @liulei I installed it with miniconda and I donât see any button I can click on. Would you please help here? Thanks!
Hi @born_in2020, please make sure install requests
within the d2l
environment (i.e., after you source activate d2l
, install it).
hi,
I tried pip install d2l, but it still give error that No module named âd2lâ.
Hi, just starting! When installing Iâm getting an error that I donât know what it is.
> pip install torch
Requirement already satisfied: torch in ./miniconda3/envs/d2l/lib/python3.8/site-packages (1.8.1)
Requirement already satisfied: numpy in ./miniconda3/envs/d2l/lib/python3.8/site-packages (from torch) (1.20.2)
Requirement already satisfied: typing-extensions in ./miniconda3/envs/d2l/lib/python3.8/site-packages (from torch) (3.7.4.3)
WARNING: Error parsing requirements for protobuf: [Errno 2] No such file or directory: '/scratch1/user/software/protobuf-3.12.2.dist-info/METADATA'
For those who encounter an error when installing the d2l package, please see the comments at Error when installing gym==0.21.0 from the setup.py ¡ Issue #2443 ¡ d2l-ai/d2l-en ¡ GitHub
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?
Hello, Iâm getting this error when executing pip install d2l==1.0.0b0
Can somebody help please ?
By the way it works well when I donât specify the version of d2l that I want.
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.
Hello!!
Thank you very much. I will try this for sure
If you meet the error âpython setup.py egg_info did not run successfully.â, see this question: why-is-pip-install-gym-failing-with-python-setup-py-egg-info-did-not-run-succ
Thank you for the details; your steps helped resolve this for my similar installation problems.
This also worked for me, thank you.
It helped me a great deal! thx a lot