Open NayminNana opened 2 years ago
File "C:\User\nin\desktop\python-searchengine-master\run.py", line 25, in
File "C:\User\nin\desktop\python-searchengine-master\search\timing.py", line 21, in timed result = method(*args, **kwargs)
File "C:\User\nin\desktop\python-searchengine-master\run.py", line 12, in index_documents for i, document in enumerate(documents):
File "C:\User\nin\desktop\python-searchengine-master\load.py", line 11, in loaddocuments for , element in etree.iterparse(f, events=('end',), tag='doc'):
I ran into a similar issue with etree with Python 3.10. Installing Python 3.8.13, creating the virtual environment, and running through the installation resolved it for me.
PLease after importing the requirements, I run the run.py but I get downloaded megabytes then indexes documents but the parsing XML and other results doesn't not exists. Should I add some codes or do something else?