Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conflict with dependencies. #8

Open
vpakspace opened this issue Jul 21, 2024 · 2 comments
Open

conflict with dependencies. #8

vpakspace opened this issue Jul 21, 2024 · 2 comments

Comments

@vpakspace
Copy link

Hello Karthik,

  1. I am encountering dependency issues while setting up your Autogen_GraphRAG_Ollama project, particularly related to azure-core and azure-storage-blob. The versions mentioned in the documentation seem to conflict with other dependencies. Could you suggest a solution or update the requirements.txt to resolve these conflicts?
  2. I'm experiencing an ImportError for the missing RequestsTransport in azure.core.pipeline.transport when initializing GraphRAG. Is it possible to use another transport class, or should the code be modified to use the TrioRequestsTransport class? I would appreciate your guidance or a code update.
  3. I am working on configuring your Autogen_GraphRAG_Ollama project and am curious about specific settings or prerequisites for its proper operation in a Windows environment, as most testing appears to have been done on Linux. Do you have any recommendations or common issues to watch out for?
  4. I noticed that there are no new releases in your repository. Are you planning any updates or additions to the Autogen_GraphRAG_Ollama project that could enhance its functionality or expand its capabilities soon?
@vpakspace
Copy link
Author

(RAG_agents) C:\Users\user\Мой диск\Projects\Microsoft GraphRAG + AutoGen + Ollama + Chainlit\Autogen_GraphRAG_Ollama>python -m graphrag.index --init --root .
Traceback (most recent call last):
File "", line 189, in run_module_as_main
File "", line 148, in get_module_details
File "", line 112, in get_module_details
File "C:\Users\user\anaconda3\envs\RAG_agents\Lib\site-packages\graphrag\index_init
.py", line 6, in
from .cache import PipelineCache
File "C:\Users\user\anaconda3\envs\RAG_agents\Lib\site-packages\graphrag\index\cache_init
.py", line 6, in
from .json_pipeline_cache import JsonPipelineCache
File "C:\Users\user\anaconda3\envs\RAG_agents\Lib\site-packages\graphrag\index\cache\json_pipeline_cache.py", line 9, in
from graphrag.index.storage import PipelineStorage
File "C:\Users\user\anaconda3\envs\RAG_agents\Lib\site-packages\graphrag\index\storage_init.py", line 6, in
from .blob_pipeline_storage import BlobPipelineStorage, create_blob_storage
File "C:\Users\user\anaconda3\envs\RAG_agents\Lib\site-packages\graphrag\index\storage\blob_pipeline_storage.py", line 13, in
from azure.storage.blob import BlobServiceClient
File "C:\Users\user\anaconda3\envs\RAG_agents\Lib\site-packages\azure\storage\blob_init_.py", line 12, in
from ._blob_client import BlobClient
File "C:\Users\user\anaconda3\envs\RAG_agents\Lib\site-packages\azure\storage\blob_blob_client.py", line 24, in
from .shared.base_client import StorageAccountHostsMixin, parse_connection_str, parse_query, TransportWrapper
File "C:\Users\user\anaconda3\envs\RAG_agents\Lib\site-packages\azure\storage\blob_shared\base_client.py", line 23, in
from azure.core.pipeline.transport import HttpTransport, RequestsTransport # pylint: disable=non-abstract-transport-import, no-name-in-module
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: cannot import name 'RequestsTransport' from 'azure.core.pipeline.transport' (C:\Users\user\anaconda3\envs\RAG_agents\Lib\site-packages\azure\core\pipeline\transport_init
.py). Did you mean: 'TrioRequestsTransport'?

@karthik-codex
Copy link
Owner

Hey, I am not sure why you are getting anything related to azure dependencies, unless you are trying to use Azure endpoints for your LLM or embedding in your settings.yaml. In that case, I would suggest you post this issue on the official graphrag repository.

You can find the instructions for Windows installation in the readme.md file in my repo.

I plan to run some benchmark studies in the future but as of now I don't have anything planned to expand its functionalities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants