Steven MoonS
Windmill2y ago
23 replies
Steven Moon

python old typing library?

I'm trying to get langtrace (https://github.com/Scale3-Labs/langtrace-python-sdk) running and whenever I import it I get this error. It's been 5 hours of debugging. I don't understand how to update the typing lib to > 3.8 (I think that's the issue?) Any ideas?

ExecutionErr: ExitCode: 1, last log lines:
ll/__init__.py", line 1, in <module>
    from .client import *
  File "/tmp/windmill/cache/pip/wmill==1.338.1/wmill/client.py", line 13, in <module>
    from typing import Dict, Any, Union, Literal
  File "/tmp/windmill/cache/pip/typing==3.7.4.3/typing.py", line 1359, in <module>
    class Callable(extra=collections_abc.Callable, metaclass=CallableMeta):
  File "/tmp/windmill/cache/pip/typing==3.7.4.3/typing.py", line 1007, in __new__
    self._abc_registry = extra._abc_registry
                         ^^^^^^^^^^^^^^^^^^^
AttributeError: type object 'Callable' has no attribute '_abc_registry'
GitHub
Langtrace SDK for Python Applications. Contribute to Scale3-Labs/langtrace-python-sdk development by creating an account on GitHub.
GitHub - Scale3-Labs/langtrace-python-sdk: Langtrace SDK for Python...
Was this page helpful?