Hello all - trying to follow a simple eval example and doing import phoenix as px gives me: ImportError: cannot import name 'suppress_tracing' from 'openinference.instrumentation' (unknown location) But as far as I can tell, I have everything installed to the latest version
Hey Trantor D., can you try updating your version of openinference-instrumentation with pip install -U openinference-instrumentation?
Can you also send the output of pip freeze?
Hm - that seemed to work - previously I only installed openinference-instrumentation-langchain (had assumed openinference-instrumentation was a dependency)
now its failing at pyarrow
I'm using poetry
Not exactly sure how depedant packages werent included when I installed openinference-instrumentation-langchain and arize-pheonix?
The langchain tracing/eval tutorial notebooks have: !pip install "langchain>=0.1.0" langchain-openai "openai>=1" "arize-phoenix[evals]" tiktoken nest-asyncio And that seems to pull everything in allowing for
from phoenix.experimental.evals import (
run_evals,
)successfully
but I first installed openinstrumentation, and have since tried to add pheonix and thats not working - seems something got messed up along the way
Hm - that seemed to work - previously I only installed openinference-instrumentation-langchain (had assumed openinference-instrumentation was a dependency)
openinference-instrumentation is a dependency of openinference-instrumentation-langchain and of arize-phoenix. The error message you sent suggests there was previously an old and incompatible version of openinference-instrumentation installed.
Can you try starting with a fresh environment and installing arize-phoenix[evals]? The other packages should be included as dependencies.
Actually, I think you're right. openinference-instrumentation was probably not installed, which definitely seems strange.
After installing it complained about pyarrow - will start with a fresh environment. may be something about starting with openinference subpackages? and then trying to move "up" to larger packages? Unclear..but will start fresh and let you know
Thanks. Is it complaining about pyarrow not being installed?
Yeah after I specifically installed openinference-instrumentation directly, it then complained about pyarrow
