pythonnumpypippy-langchain

How to find package version that is compatible with other package


How can I find the package version that can work with other package requirement. For my case, I have hard requirement for numpy==1.24.4 and I am looking to install langchain-core which the latest version requires numpy>=1.26.4.

I wanted to know if there's way I can easily get the langchain-core version that works with numpy==1.24.4 instead of trying out each version one by one.


Solution

  • You can check the package’s dependencies using deps.dev. For example, for langchain-core version 0.3.65, here's the direct link:

    🔗 https://deps.dev/pypi/langchain-core/0.3.65/dependencies