Repository: Marker-Inc-Korea/AutoRAG
Issue: [BUG] RecursionError: maximum recursion depth exceeded in __instancecheck__
Root cause: External Dependency Breakage

**Describe the bug**
While running [AutoRAG evaluator - Tutorial - Step 1 (deploy).ipynb](https://colab.research.google.com/drive/19OEQXO_pHN6gnn2WdfPd4hjnS-4GurVd), I'm getting

`RecursionError: maximum recursion depth exceeded in __instancecheck__`

Same thing also happening in my local environment.

**To Reproduce**
Steps to reproduce the behavior:
1. Just run the tutorial notebook in colab.

Hello @mattquestions 
I am fixing this error now. 
Thank you. 

@bwook00 rich error. Possible conflict with tqdm?

@bwook00 
When I have change `from tqdm import tqdm` to `from tqdm.rich import tqdm`, it occurs error like this.

```
Ingesting VectorDB... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 1/1 0:00:04
Evaluating...         ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━   0% 0/3 0:00:04
/usr/local/lib/python3.10/dist-packages/autorag/nodes/retrieval/run.py:515: TqdmExperimentalWarning: rich is 
experimental/alpha
  for weight_value in tqdm(weight_candidates):
---------------------------------------------------------------------------
LiveError                                 Traceback (most recent call last)
[<ipython-input-12-d9cd82598d1e>](https://localhost:8080/#) in <cell line: 1>()
----> 1 evaluator.start_trial('/content/config.yaml')

11 frames
[/usr/local/lib/python3.10/dist-packages/autorag/evaluator.py](https://localhost:8080/#) in start_trial(self, yaml_path, skip_validation, full_ingest)
    136                                 qa_data_path=self.qa_data_path, corpus_data_path=self.corpus_data_path
    137 			)
--> 138                         validator.validate(yaml_path)
    139 
    140                 os.environ["PROJECT_DIR"] = self.project_dir

[/usr/local/lib/python3.10/dist-packages/autorag/validator.py](https://localhost:8080/#) in validate(self, yaml_path, qa_cnt, random_state)
     88                                 project_dir=temp_project_dir,
     89 			)
---> 90                         evaluator.start_trial(yaml_path, skip_validation=True)
     91                         qa_path.close()
     92                         corpus_path.close()

[/usr/local/lib/python3.10/dist-packages/autorag/evaluator.py](https://localhost:8080/#) in start_trial(self, yaml_path, skip_validation, full_ingest)
    204                                         previous_result = self.qa_data
    205                                 logger.info(f"Running node line {node_line_name}...")
--> 206 				previous_result = run_node_line(
    207                                         node_line, node_line_dir, previous_result, progress, task_eval
    208 				)

[/usr/local/lib/python3.10/dist-packages/autorag/node_line.py](https://localhost:8080/#) in run_node_line(nodes, node_line_dir, previous_result, progress, task_eval)
     50         summary_lst = []
     51         for node in nodes:
---> 52                 previous_result = node.run(previous_result, node_line_dir)
     53 		node_summary_df = load_summary_file(
     54                         os.path.join(node_line_dir, node.node_type, "summary.csv")

[/usr/local/lib/python3.10/dist-packages/autorag/schema/node.py](https://localhost:8080/#) in run(self, previous_result, node_line_dir)
     55                 logger.info(f"Running node {self.node_type}...")
     56                 input_modules, input_params = self.get_param_combinations()
---> 57 		return self.run_node(
     58                         modules=input_modules,
     59                         module_params=input_params,

[/usr/local/lib/python3.10/dist-packages/autorag/nodes/retrieval/run.py](https://localhost:8080/#) in run_retrieval_node(modules, module_params, previous_result, node_line_dir, strategies)
    268                         hybrid_results = []
    269                         for module, module_param in zip(hybrid_modules, hybrid_module_params):
--> 270 				module_result_df, module_best_weight = optimize_hybrid(
    271                                         module,
    272                                         module_param,

[/usr/local/lib/python3.10/dist-packages/autorag/nodes/retrieval/run.py](https://localhost:8080/#) in optimize_hybrid(hybrid_module_func, hybrid_module_param, strategy, input_metrics, project_dir, previous_result)
    513 
    514         result_list = []
--> 515         for weight_value in tqdm(weight_candidates):
    516 		result_df = hybrid_module_func.run_evaluator(
    517                         project_dir=project_dir,

[/usr/local/lib/python3.10/dist-packages/tqdm/rich.py](https://localhost:8080/#) in __init__(self, *args, **kwargs)
    111         options.setdefault('transient', not self.leave)
    112         self._prog = Progress(*progress, **options)
--> 113         self._prog.__enter__()
    114         self._task_id = self._prog.add_task(self.desc or "", **d)
    115 

[/usr/local/lib/python3.10/dist-packages/rich/progress.py](https://localhost:8080/#) in __enter__(self)
   1180 
   1181     def __enter__(self) -> Self:
-> 1182         self.start()
   1183         return self
   1184 

[/usr/local/lib/python3.10/dist-packages/rich/progress.py](https://localhost:8080/#) in start(self)
   1171         """Start the progress display."""
   1172         if not self.disable:
-> 1173             self.live.start(refresh=True)
   1174 
   1175     def stop(self) -> None:

[/usr/local/lib/python3.10/dist-packages/rich/live.py](https://localhost:8080/#) in start(self, refresh)
    111             if self._started:
    112                 return
--> 113             self.console.set_live(self)
    114             self._started = True
    115             if self._screen:

[/usr/local/lib/python3.10/dist-packages/rich/console.py](https://localhost:8080/#) in set_live(self, live)
    833         with self._lock:
    834             if self._live is not None:
--> 835                 raise errors.LiveError("Only one live display may be active at once")
    836             self._live = live
    837 

LiveError: Only one live display may be active at once
```

@mattquestions 
Recommended to downgrade AutoRAG version to v0.3.7 before we resolve the error.
Thanks!