Hi - I am using python 3.6.9 and pyramid 2.0 and getting this error. Any ideas what I am doing wrong here? I searched conversations for "authclient" as well as the documentation and did not see anything. Thank you very much.
Traceback (most recent call last):
File "/home/ec2-user/.local/lib/python3.6/site-packages/pyramid/path.py", line 387, in _zope_dottedname_style
found = getattr(found, n)
AttributeError: module 'h.cli.commands' has no attribute 'authclient'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/local/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/ec2-user/h/h/__main__.py", line 4, in <module>
main()
File "/home/ec2-user/h/h/cli/__init__.py", line 71, in main
cli.add_command(resolver.resolve(cmd))
File "/home/ec2-user/.local/lib/python3.6/site-packages/pyramid/path.py", line 307, in resolve
return self._resolve(dotted, package)
File "/home/ec2-user/.local/lib/python3.6/site-packages/pyramid/path.py", line 334, in _resolve
return self._zope_dottedname_style(dotted, package)
File "/home/ec2-user/.local/lib/python3.6/site-packages/pyramid/path.py", line 389, in _zope_dottedname_style
__import__(used)
File "/home/ec2-user/h/h/cli/commands/authclient.py", line 4, in <module>
from h.security import token_urlsafe
File "/home/ec2-user/h/h/security/__init__.py", line 10, in <module>
from h.security.identity import Identity # noqa:F401
File "/home/ec2-user/h/h/security/identity.py", line 3, in <module>
from dataclasses import dataclass
ModuleNotFoundError: No module named 'dataclasses'