Issue with ATTR/ATTRS
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 :)
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.
@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.