Description
When I open a colab notebook in d2l book and run the first line:
"""
!pip install git+https://github.com/d2l-ai/d2l-zh@release # installing d2l
"""
I got the following error:
"""
Building wheels for collected packages: d2l, pandas
Building wheel for d2l (setup.py) ... done
Created wheel for d2l: filename=d2l-2.0.0-py3-none-any.whl size=110806 sha256=9712deb2e92e4799b42762b856a5ce9ccc3ca896bdb92e154c4df2754da4eca5
Stored in directory: /tmp/pip-ephem-wheel-cache-ef7euvkn/wheels/06/3d/8a/4fd8610f1a5a25b8f37ceb120e161c4c789b515a22cfce411a
error: subprocess-exited-with-error
× Building wheel for pandas (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Building wheel for pandas (pyproject.toml) ... error
ERROR: Failed building wheel for pandas
Successfully built d2l
Failed to build pandas
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (pandas)
and when I run the cell below the first one, colab tells me no module named "d2l", and I don't know whether this is a bug or I do something wrong.
I tried some other methods on google to solve this problem such as:
"""
!pip install setuptools==65.5.0 "wheel<0.40.0"
"""
But this does not fix the problem.