You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/root/RAG-YuWan/OpenAttack/demo.py", line 1, in
import OpenAttack
File "/root/RAG-YuWan/OpenAttack/OpenAttack/init.py", line 2, in
from .data_manager import DataManager
File "/root/RAG-YuWan/OpenAttack/OpenAttack/data_manager.py", line 4, in
from .data import data_list
File "/root/RAG-YuWan/OpenAttack/OpenAttack/data/init.py", line 61, in
data_list = load_data()
^^^^^^^^^^^
File "/root/RAG-YuWan/OpenAttack/OpenAttack/data/init.py", line 38, in load_data
data = data.module_finder.find_loader(data.name)[0].load_module()
The text was updated successfully, but these errors were encountered:
It seems that find_loader method of importlib.machinery.FileFinder has been removed in Python 3.12, and the library is not updated for this version yet
Traceback (most recent call last):
File "/root/RAG-YuWan/OpenAttack/demo.py", line 1, in
import OpenAttack
File "/root/RAG-YuWan/OpenAttack/OpenAttack/init.py", line 2, in
from .data_manager import DataManager
File "/root/RAG-YuWan/OpenAttack/OpenAttack/data_manager.py", line 4, in
from .data import data_list
File "/root/RAG-YuWan/OpenAttack/OpenAttack/data/init.py", line 61, in
data_list = load_data()
^^^^^^^^^^^
File "/root/RAG-YuWan/OpenAttack/OpenAttack/data/init.py", line 38, in load_data
data = data.module_finder.find_loader(data.name)[0].load_module()
The text was updated successfully, but these errors were encountered: