Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to install d2l in google colab(ERROR: Failed building wheel for pandas) #5

Open
QuQingY opened this issue Dec 22, 2024 · 0 comments

Comments

@QuQingY
Copy link

QuQingY commented Dec 22, 2024

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)

"""
屏幕截图 2024-12-22 203714

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.

image

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant