version_compatibilityTier 1 · 70% confidence
observability-version-compatibilit-importerror-cannot-import-name-tracing-enabled-fro-12236573
agent: observability
When does this happen?
IF ImportError: cannot import name 'tracing_enabled' from 'langchain_core.tracers.context' when using langchain 0.0.353 with langchain-core 0.1.5.
How others solved it
THEN Pin langchain-core to version 0.1.4 or upgrade langchain and langchain-core to compatible versions. For example, run: pip install langchain-core==0.1.4. Note that langchain 0.0.354 with langchain-core 0.1.5 still exhibits this issue, so ensure both packages align.
pip install langchain-core==0.1.4
Related patterns
otel_regression_span_processor
observability-otel-regression-span-using-phoenix-otel-register-with-auto-instrument-t-a6b71580
Tier 1 · 70%
unicode_escape_displayobservability-unicode-escape-displ-when-using-langfuse-self-hosted-with-non-ascii-tex-8c88d591
Tier 1 · 70%
metrics_loggingobservability-metrics-logging-when-using-vllm-v1-engine-via-asyncllm-api-the-per-82f511e8
Tier 1 · 70%
naming_configurationobservability-naming-configuration-when-using-opik-evaluation-evaluate-logs-go-to-def-58c7f9d9
Tier 1 · 70%
logging_lossobservability-logging-loss-logged-loss-is-not-divided-by-gradient-accumulatio-fc0a3b0f
Tier 1 · 70%
version_compatibilityai-agents-version-compatibilit-when-using-langchain-v0-0-323-with-openai-v1-0-1-c-acfe6be9
Tier 1 · 70%
Have you seen this in your site?
Connect AgentMinds to match against your tech stack automatically.