Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix circular dependency issue when installing mitdeeplearning in lab 1 #176

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

Open
cito125 wants to merge 1 commit into MITDeepLearning:master
base: master
Choose a base branch
Loading
from cito125:patch-1

Conversation

Copy link

@cito125 cito125 commented Mar 23, 2025

Before the change running the cell resulted in the following error which didn’t allow for the rest of the lab to be completed:

error: 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 202530 requires fsspec==202530, but you have fsspec 2024120 which is incompatible.

Attempting to upgrade each library manually resulted in a dependency issue where different dependencies required different versions of the same library:

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.
datasets 3.4.1 requires fsspec[http]<=2024120,>=202310, but you have fsspec 202530 which is incompatible.
Successfully installed fsspec-202530
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 202530 requires fsspec==202530, but you have fsspec 2024120 which is incompatible.

I assume this was fixed in mitdeeplearning so the upgrade fixes this issue.

Before the change running the cell resulted in the following error which didn’t allow for the rest of the lab to be completed:
```
error: 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 202530 requires fsspec==202530, but you have fsspec 2024120 which is incompatible.
```
Attempting to upgrade each library manually resulted in a dependency issue where different dependencies required different versions of the same library:
```
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.
datasets 3.4.1 requires fsspec[http]<=2024120,>=202310, but you have fsspec 202530 which is incompatible.
Successfully installed fsspec-202530
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 202530 requires fsspec==202530, but you have fsspec 2024120 which is incompatible.
```
I assume this was fixed in `mitdeeplearning` so the upgrade fixes this issue.
Copy link
Author

cito125 commented Mar 24, 2025

Copy link

xie186 commented Apr 2, 2025
edited
Loading

With pip install mitdeeplearning --upgrade --quiet, I still get the error:

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 202530 requires fsspec==202530, but you have fsspec 2024120 which is incompatible.

Any idea how to fix it?

Copy link
Author

cito125 commented Apr 3, 2025 via email

Hey Xie, try running it twice with that updated command. Can you paste the entire contents of the cell here?
...
On Thu, Apr 3, 2025, 00:09 Shaojun Xie ***@***.***> wrote: With pip install mitdeeplearning --upgrade --quiet, I still get the error: 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 202530 requires fsspec==202530, but you have fsspec 2024120 which is incompatible. Any idea how to fix it? — Reply to this email directly, view it on GitHub <#176 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AFCIDXPA3TENA45OOOXQSB32XRU3RAVCNFSM6AAAAABZTSFED2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONZTHEZDKNBRGQ> . You are receiving this because you authored the thread.Message ID: ***@***.***> [image: xie186]*xie186* left a comment (MITDeepLearning/introtodeeplearning#176) <#176 (comment)> With pip install mitdeeplearning --upgrade --quiet, I still get the error: 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 202530 requires fsspec==202530, but you have fsspec 2024120 which is incompatible. Any idea how to fix it? — Reply to this email directly, view it on GitHub <#176 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AFCIDXPA3TENA45OOOXQSB32XRU3RAVCNFSM6AAAAABZTSFED2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONZTHEZDKNBRGQ> . You are receiving this because you authored the thread.Message ID: ***@***.***>

Copy link

xie186 commented Apr 3, 2025

Thank you for your quick response.

First run:

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.8/2.8 MB 37.5 MB/s eta 0:00:00
 Preparing metadata (setup.py) ... done
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 149.3/149.3 kB 5.0 MB/s eta 0:00:00
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 491.2/491.2 kB 28.3 MB/s eta 0:00:00
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 438.6/438.6 kB 22.2 MB/s eta 0:00:00
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 68.6/68.6 kB 4.2 MB/s eta 0:00:00
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 116.3/116.3 kB 5.8 MB/s eta 0:00:00
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 183.9/183.9 kB 11.2 MB/s eta 0:00:00
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 161.7/161.7 kB 8.2 MB/s eta 0:00:00
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 143.5/143.5 kB 7.2 MB/s eta 0:00:00
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 363.4/363.4 MB 3.0 MB/s eta 0:00:00
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.8/13.8 MB 56.1 MB/s eta 0:00:00
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 24.6/24.6 MB 42.9 MB/s eta 0:00:00
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 883.7/883.7 kB 25.3 MB/s eta 0:00:00
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 664.8/664.8 MB 1.4 MB/s eta 0:00:00
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 211.5/211.5 MB 6.5 MB/s eta 0:00:00
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.3/56.3 MB 12.4 MB/s eta 0:00:00
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 127.9/127.9 MB 7.0 MB/s eta 0:00:00
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 207.5/207.5 MB 5.3 MB/s eta 0:00:00
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 21.1/21.1 MB 74.9 MB/s eta 0:00:00
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.0/7.0 MB 92.5 MB/s eta 0:00:00
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 194.8/194.8 kB 14.7 MB/s eta 0:00:00
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 66.0 MB/s eta 0:00:00
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 53.6 MB/s eta 0:00:00
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.4/65.4 kB 5.5 MB/s eta 0:00:00
 Building wheel for mitdeeplearning (setup.py) ... done
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 202530 requires fsspec==202530, but you have fsspec 2024120 which is incompatible.

Second run:

No error any more. This is weird. But still thank you for your help.

cito125 reacted with thumbs up emoji

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /