Issue with ATTR/ATTRS
rxvan last edited by
Issue with ATTRS/ATTR.
Basically, I’ve installed it using Stash, and when trying to use
@attr.sit doesn’t work, it says that “Module ‘attr’ has no attribute ‘s’” any help would be appreciated :)
JonB last edited by
Try restarting Pythonista.
Then make sure attract appears in Modules/site-packages-3
Be sure to import attr.
Make sure you don’t have another file called attr.py anywhere.
mikael last edited by
@rxvan, the package that contains attr.s is installed with pip install attrs (note the s) and imported with attr (no s). There is also a package called attr which is also imported with attr but does not contain attr.s.
Looks like you have the wrong one. Try removing that and installing attrs.