Hi '
RSN
Let me give you a few troubleshoots
Firstly verify that you are using the correct Python environment in Azure AI ML Studio. Sometimes, there might be multiple environments, and the package may not be installed in the active environment.
also heck the Python version and make sure it matches with the version for which you installed the langchain
library.
Try restarting the Python kernel. Try restarting the kernel in your Jupyter notebook or script.
Ensure that the directory containing the langchain
library is in the Python path. You can print the sys.path variable in your notebook to see the current paths.
pythonCopy code
import sys
print(sys.path)
finally confirm that the langchain
library is installed in the correct Python environment. You can use the following command to check installed packages:
pythonCopy code
!pip list
Verify that langchain
is listed in the output.
If this helps kindly accept the answer thanks much.