I have encountered an issue with installing dependencies in a Python virtual environment. Specifically, I am trying to install dependencies from two requirements files and a pyproject.toml
file. Here are the contents of each file:
requirements.txt:
pyyaml
requests
second_requirements.txt:
langchain>=0.0.295
pydantic>=1.10.13,<3
typing-extensions>=4.2.0
pyproject.toml:
[tool.poetry.dependencies] python = “^3.8”
[tool.poetry.dependencies]
dependencies = [ “PyYAML>=6”, “asteval>=0.9.25”, “cerberus>=1.3.4”, “cloudpickle>=1.6.0”, “fsspec>=0.8.7”, “gitpython>=3.1.2”, “jinja2>=2.11.2”, “matplotlib>=3.1.3, <=3.8.4”, “numpy>=1.19.2”, “oci>=2.125.3”, “ocifs>=1.1.3”, “pandas>1.2.1; python_version<‘3.9′”, “pandas>=2.2.0; python_version>=’3.9′”, “psutil>=5.7.2”, “python_jsonschema_objects>=0.3.13”, “requests”, “scikit-learn>=1.0”, “tabulate>=0.8.9”, “tqdm>=4.59.0”, ]
I created a virtual environment and installed the dependencies :
However, when I check the installed packages in the virtual environment, the langchain
library is not installed.
Can someone help me understand why langchain
is not being installed and how to resolve this issue?
Thank you!