when running
from langchain.tools.python.tool import PythonREPLTool
I get
ModuleNotFoundError Traceback (most recent call last)
----> 9 from langchain.tools.python.tool import PythonREPLTool
ModuleNotFoundError: No module named ‘langchain.tools.python.tool’
Mubsi
2
Hi @Andrea_Gigli,
Are you running this locally ? And using a much latest version of langchain than one being used on the platform ?
Best,
Mubsi
Hi @Mubsi I downgraded the version to
langchain==0.0.179
openai==0.27.7
and the code now is running. However I see a security risk related to this version as reported in
so better to use this version for educational purpose only
Thanks
Andrea
1 Like
glotrec
4
how were you able to downgrade langchain to 0.0.179? I could not obtain that thru Anaconda’s “conda-forge”
glotrec
5
solution: use pip install langchain=0.0.179