Azure-Samples / graphrag-accelerator

One-click deploy of a Knowledge Graph powered RAG (GraphRAG) in Azure
https://github.com/microsoft/graphrag
MIT License
1.65k stars 250 forks source link

[BUG] Installed all dependencies but still got an error: AttributeError: module 'glib' has no attribute 'get_user_config_dir' #107

Open Elizabeth819 opened 1 month ago

Elizabeth819 commented 1 month ago

Describe the bug When deploy.sh, got an error: Deploying graphrag helm chart... cosmos endpoint: https://cosmos-eliz3.documents.azure.com:443/ storage account url: https://steliz3.blob.core.windows.net/ Traceback (most recent call last): File "/Users/wanmeng/miniconda3/envs/graphrag/bin/helm", line 42, in main() File "/Users/wanmeng/miniconda3/envs/graphrag/bin/helm", line 28, in main config_dirs = (glib.get_user_config_dir(),) + glib.get_system_config_dirs() ^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'glib' has no attribute 'get_user_config_dir'

To Reproduce Steps to reproduce the behavior:

  1. install all the dependencies
  2. bash deploy.sh -d -g -p deploy.parameters.json
  3. get the error Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

image image

image image

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

rnpramasamyai commented 1 month ago

@Elizabeth819 Please make sure that you have installed the necessary tools. helm and kubectl