Closed lorenzom222 closed 1 year ago
I'm getting the same, did you end up finding a solution? I've tried a few different versions of poetry, all the same error.
No, I haven't found any solution unfortunate :/
I encounter the same issue on macOS, but not reproing on Windows WSL.
Answer generated by a 🤖
I understand that you're encountering issues when trying to install the awadb
and azure-ai-vision
packages using Poetry. The error messages suggest that the specified versions of these packages cannot be found. Here's how we can potentially address this issue:
Firstly, it's possible that the versions specified in your pyproject.toml
file do not exist. You can verify this by visiting the Python Package Index (PyPI) and searching for these packages. If the versions are not available, you'll need to update your pyproject.toml
file with the correct versions. For instance, your file currently specifies awadb
version as ^0.3.3
and azure-ai-vision
as ^0.11.1b1
. Please ensure these versions are indeed available on PyPI.
Secondly, there could be a network issue that's preventing Poetry from accessing PyPI. You can test your network connection by trying to install a different package or by visiting the PyPI website.
Thirdly, there might be an issue with your Poetry configuration or cache. You can try clearing your Poetry cache using the command poetry cache:clear pypi --all
, and then attempt the installation again.
Lastly, the azure-ai-vision
package might be sourced from a secondary source azure-sdk-dev
. Please ensure that this source is accessible and that the specified version of the package is available there.
Please note that this is one potential solution based on the information provided. If you believe this is a bug that could impact other users and you've found a solution, we encourage you to make a pull request. If this solution doesn't align with your experience, it might be helpful to upgrade to the latest version of the packages or the tools you're using.
This response is meant to be useful, save you time, and share context. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
It seems azure-ai-vision does not support macOS, as mentioned [here].(https://github.com/hwchase17/langchain/blob/560c4dfc98287da1bc0cfc1caebbe86d1e66a94d/docs/extras/modules/agents/toolkits/azure_cognitive_services.ipynb#L12)
Hi, @lorenzom222! I'm Dosu, and I'm here to help the LangChain team manage their backlog. I wanted to let you know that we are marking this issue as stale.
Based on my understanding, you were experiencing issues installing the awadb
and azure-ai-vision
packages specified in your pyproject.toml
file using the poetry install -E all
command. Other users have also encountered the same issue and there have been suggestions for potential solutions. These include verifying the availability of the specified package versions on PyPI, checking for network issues, clearing the Poetry cache, and ensuring accessibility of the azure-sdk-dev
source.
Before we close this issue, we wanted to check with you if it is still relevant to the latest version of the LangChain repository. If it is, please let us know by commenting on the issue. Otherwise, feel free to close the issue yourself or it will be automatically closed in 7 days.
Thank you for your understanding and cooperation!
System Info
Upon the
poetry install -E all
command, I'm unable to install awadb version or azure-ai-vision specified in pyproject.toml awadb = {version = "^0.3.2", optional = true} azure-ai-vision = {version = "^0.11.1b1", optional = true}However I was able to install the awadb 0.3.1 version.
Who can help?
No response
Information
Related Components
Reproduction
poetry install -E all
commandExpected behavior
After I installed Poetry, I tried to run poetry install -E all within the langchain directory, however I receive dependencies errors.