wenjieyin
@wenjieyin

Are you sure you want to delete the question?

If your question is resolved, you may close it.

Leaving a resolved question undeleted may help others!

We hope you find it useful!

HhmlRAGシステムをGithubのオープンソースのビルド時のエラーを解決してほしい

解決したいこと

HhmlRAGシステムをGithubのオープンソース(の手順の通り構築していますが、HTML Cleaning段階でエラーが出ていてこちらを解決したいです。
https://github.com/plageon/HtmlRAG?tab=readme-ov-file

  1. Installation
  2. Dependencies
  3. Data Preparation
    まではなんとなく行きましたが、
  4. HTML Cleaning
    の段階で以下のようなエラーが発生しております。

実行したコマンド

bash ./scripts/simplify_html.sh

発生している問題・エラー

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Python312\Lib\multiprocessing\spawn.py", line 122, in spawn_main
    exitcode = _main(fd, parent_sentinel)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python312\Lib\multiprocessing\spawn.py", line 132, in _main
    self = reduction.pickle.load(from_parent)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: Can't get attribute 'simplify_html_lines' on <module '__mp_main__' from 'ローカルのソースディレクトリのパス\\html4rag\\simplify_html.
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Python312\Lib\multiprocessing\spawn.py", line 122, in spawn_main
    exitcode = _main(fd, parent_sentinel)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python312\Lib\multiprocessing\spawn.py", line 132, in _main
    self = reduction.pickle.load(from_parent)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: Can't get attribute 'simplify_html_lines' on <module '__mp_main__' from 'ローカルのソースディレクトリのパス\\html4rag\\simplify_html.
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Python312\Lib\multiprocessing\spawn.py", line 122, in spawn_main
    exitcode = _main(fd, parent_sentinel)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python312\Lib\multiprocessing\spawn.py", line 132, in _main
    self = reduction.pickle.load(from_parent)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: Can't get attribute 'simplify_html_lines' on <module '__mp_main__' from 'ローカルのソースディレクトリのパス\\html4rag\\simplify_html.
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Python312\Lib\multiprocessing\spawn.py", line 122, in spawn_main
    exitcode = _main(fd, parent_sentinel)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python312\Lib\multiprocessing\spawn.py", line 132, in _main
    self = reduction.pickle.load(from_parent)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: Can't get attribute 'simplify_html_lines' on <module '__mp_main__' from 'ローカルのソースディレクトリのパス\\html4rag\\simplify_html.
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Python312\Lib\multiprocessing\spawn.py", line 122, in spawn_main
    exitcode = _main(fd, parent_sentinel)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python312\Lib\multiprocessing\spawn.py", line 132, in _main
    self = reduction.pickle.load(from_parent)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: Can't get attribute 'simplify_html_lines' on <module '__mp_main__' from 'ローカルのソースディレクトリのパス\\html4rag\\simplify_html.
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Python312\Lib\multiprocessing\spawn.py", line 122, in spawn_main
    exitcode = _main(fd, parent_sentinel)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python312\Lib\multiprocessing\spawn.py", line 132, in _main
    self = reduction.pickle.load(from_parent)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: Can't get attribute 'simplify_html_lines' on <module '__mp_main__' from 'ローカルのソースディレクトリのパス\\html4rag\\simplify_html.
2024-11-20 11:44:35.042 | INFO     | __main__:<module>:57 - All done

わかりたいこと

  1. 上記のエラーを解決できる方法について教えてほしいです。
  2. もし、どなたかの方で、すでに自分が試してみているオープンソースを使ってビルドとテストまで行けそうだった方はぜひとも教えていただければと思います。
0

No Answers yet.

Your answer might help someone💌