Closed ryanhill1 closed 5 months ago
I don't see how ModuleNotFoundError: No module named 'attrs'
could be caused by an old attrs
version?! ... if the error was that it can't find one of the functions/classes of the library then it would have made sense ... but module not found is a different thing
@NoureldinYosri, see the attrs
changelog. While the package on pypi has always been called attrs
so that is what you would install (pip install attrs
), the python package that you would import was previously called attr
(import attr
). This was confusing, so they added an attrs
python package which matches the install name, and this first landed in 21.3.0.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 97.81%. Comparing base (
5f7881f
) to head (f55d42e
). Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Any
attrs<21.3.0
fails for me when I try toimport cirq
. And anyattrs>=21.3.0
seems to work.Reference: