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

ERROR: pip's dependency resolver #42

Open
DoubleYou2 opened this issue Jan 5, 2025 · 4 comments
Open

ERROR: pip's dependency resolver #42

DoubleYou2 opened this issue Jan 5, 2025 · 4 comments

Comments

@DoubleYou2
Copy link

Running initial script (e.g. of chapter 1 of colab notebook) of the book :

#hide
! [ -e /content ] && pip install -Uqq fastbook
import fastbook
fastbook.setup_book()_

Results in:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 719.8/719.8 kB 8.9 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 480.6/480.6 kB 17.3 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 116.3/116.3 kB 7.3 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 179.3/179.3 kB 9.1 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 134.8/134.8 kB 6.9 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 194.1/194.1 kB 15.0 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 18.3 MB/s eta 0:00:00
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
gcsfs 2024.10.0 requires fsspec==2024.10.0, but you have fsspec 2024.9.0 which is incompatible.

Mounted at /content/gdrive


As a beginner in this area and after trying for hours to workaround I couldn't find a workaround.

@andreagrandi
Copy link

@DoubleYou2 I'm having exactly the same issue. Finding these type of errors at the beginning of a course makes me want to abandon the course all together. Also: the fact nobody replied to you after 2 weeks, doesn't look good.

@AndreasThinks
Copy link

This fix seems to work:

https://forums.fast.ai/t/google-colab-pip-install-fastbook-produces-dependency-error-with-tornado-v6-1/94109

Run !pip install -Uqq fastbook
Colab reports the “tornado 6.1 incompatible” error
Then restart the runtime (without using factory reset)
Run !pip install -Uqq fastbook again
Problem is fixed and can continue working through the chapter

@andreagrandi
Copy link

This fix seems to work:

https://forums.fast.ai/t/google-colab-pip-install-fastbook-produces-dependency-error-with-tornado-v6-1/94109

Run !pip install -Uqq fastbook
Colab reports the “tornado 6.1 incompatible” error
Then restart the runtime (without using factory reset)
Run !pip install -Uqq fastbook again
Problem is fixed and can continue working through the chapter

We are not getting the same error. It's similar, but it's a different dependency.

@AndreasThinks
Copy link

Image

I'm definitely getting the same error, and the workaround seems to work on collab my end! The cell itself will continue to fail, but you should be able to just manually run the cell after it (and everything below)?

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

3 participants