whispers
whispers copied to clipboard
errorMessage: module 'typing' has no attribute _ClassVar | while running whispers on lambda python 3.9
{
"errorMessage": "module 'typing' has no attribute '_ClassVar'",
"errorType": "AttributeError",
"requestId": "ac8561f5-dc64-42e5-af44-9f3c942ef80d",
"stackTrace": [
" File "/var/task/lambda_function.py", line 13, in lambda_handler\n for secret in whispers.secrets(args):\n",
" File "/opt/python/whispers/init.py", line 14, in secrets\n from whispers.core.args import parse_args\n",
" File "/opt/python/whispers/core/args.py", line 7, in
Hey @bheemuni-raju, thanks for raising! Which version of whispers are you using?
Hi @adeptex I'm using whispers 2.0.5 version.
Hi @adeptex Any update on this?
hey @bheemuni-raju, I think the problem is with having dataclasses
installed. So short term fix is to pip3 uninstall dataclasses
on Python 3.9.. but i have not yet done any testing.
Also FYI, this repo is for version 1. Version 2 is at https://github.com/adeptex/whispers, so the changes will be implemented there.
hi @bheemuni-raju did you try uninstalling dataclasses? Did it work for you?
hey @bheemuni-raju, this issue is addressed in 2.0.6 - https://github.com/adeptex/whispers