d2l-ai / d2l-en

Interactive deep learning book with multi-framework code, math, and discussions. Adopted at 500 universities from 70 countries including Stanford, MIT, Harvard, and Cambridge.
https://D2L.ai
Other
24.04k stars 4.37k forks source link

Error when installing d2l: module pkgutil has no attribute ImpImporter. #2625

Open hamiddashti opened 4 days ago

hamiddashti commented 4 days ago

I am trying to install the d2l library using the pip install d2l==1.0.3 and I get the following error:

AttributeError: module pkgutil has no attribute ImpImporter. Did you mean: zipimporter note: This error originates from a subprocess, and is likely not a problem with pip.

How can I solve this? I have my conda env setup properly.

Thanks!