amosjyng / langchain-visualizer

Visualization and debugging tool for LangChain workflows

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error when importing library

soubenz opened this issue · comments

Traceback (most recent call last):
File "/mnt/g/Other computers/My Computer/*****/llm/tracing.py", line 1, in
import langchain_visualizer
File "/home/alex/miniconda3/envs/py39/lib/python3.9/site-packages/langchain_visualizer/init.py", line 8, in
from .agents.tools import SerpAPIWrapper # noqa
File "/home/alex/miniconda3/envs/py39/lib/python3.9/site-packages/langchain_visualizer/agents/tools.py", line 11, in
from langchain.utilities.bash import BashProcess
ModuleNotFoundError: No module named 'langchain.utilities.bash'

commented

I also encountered the same problem.

Hey sorry, I lost access to my Python development environment, and have yet to set it up again. Are you able to see if it works with langchain v0.0.291?

Sorry for the wait @soubenz and @Sparky579 . #84 (released with v0.0.32) should make it compatible with the latest langchain now. Let me know if it still doesn't work.