WindmillWWindmill
Powered by
Steven MoonS
Windmill•2y 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'
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
GitHub - Scale3-Labs/langtrace-python-sdk: Langtrace SDK for Python...
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...
WindmillJoin
3,362Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
henri-c

Weekly kenote to tell you about our latest updates https://discord.com/channels/930051556043276338/1278977038430240813 https://youtube.com/live/2dGd9TdT8xs?feature=share

henri-c · 4d ago

Pyra

### HTTP tracing (EE) Capture HTTP requests made by job scripts as observability spans Features: - View HTTP request traces (method, URL, status, timing) in the job details UI - Auto-instrumentation for Native TypeScript, MITM proxy for other languages - Integrates with external OpenTelemetry collectors changelog: https://www.windmill.dev/changelog/http-tracing docs: https://www.windmill.dev/docs/advanced/instance_settings#http-tracing Additionally jobs memory metrics are now fully OSS!

Pyra · 2w ago

henri-c

First keynote of the year here https://discord.com/channels/930051556043276338/1278977038430240813 🙂

henri-c · 4w ago

Similar Threads

Python DLT library in windmill? Compatibel?
riekusRriekus / help
6mo ago
Python Import Issue - Haystack library overriden
developerDdeveloper / help
2y ago
Python pycache
fooosieeeFfooosieee / help
15mo ago
Python imports
rovertoRroverto / help
2y ago