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

AttributeError: partially initialized module 'charset_normalizer' has no attribute 'md__mypyc' (most likely due to a circular import) #2602

Open
Nevermetyou65 opened this issue Jun 1, 2024 · 0 comments

Comments

@Nevermetyou65
Copy link

Hello,

I am reading chapter 9 of d2l.
I tried to import libraries as followed

%matplotlib inline
import torch
from torch import nn
from d2l import torch as d2l

But I got error
AttributeError: partially initialized module 'charset_normalizer' has no attribute 'md__mypyc' (most likely due to a circular import)

I am using pytorch 2.3 and d2l==1.0.3

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