table_extractor icon indicating copy to clipboard operation
table_extractor copied to clipboard

dependencies versions not defined

Open Ismail-Salim opened this issue 1 year ago • 3 comments

I encountered a problem with the gensim library. Some commands are modified with the newer version. Could you please define which versions of the libraries you have used to run this framework?

I keep getting the below error, and I cannot modify it because it is in the trained model. Knowing that I modified the ones in the main code.

"NameError: name 'keyedvectors' is not defined"

Thank you

Ismail-Salim avatar Jul 18 '24 17:07 Ismail-Salim

Please try with these versions.

gensim==3.8.3 unidecode==1.1.2 bson==0.5.10

zakidotai avatar Jul 20 '24 11:07 zakidotai

@zakidotai

Thank you for your answer; I have solved (I was able to run the code "Table Extractor Tutorial") the problem by installing the versions before Nov-2019, as follows:

Python 3.5.0

gensim==3.4.0 smart_open==1.9.0 pandas 0.25.3 beautifulsoup4==4.8.1 spacy==2.2.3 Unidecode==1.1.1 scikit-learn==0.21.3 bson==0.5.8 Autologging==1.3.1

Ismail-Salim avatar Jul 20 '24 17:07 Ismail-Salim

@zakidotai

Thank you for your answer; I have solved (I was able to run the code "Table Extractor Tutorial") the problem by installing the versions before Nov-2019, as follows:

Python 3.5.0

gensim==3.4.0 smart_open==1.9.0 pandas 0.25.3 beautifulsoup4==4.8.1 spacy==2.2.3 Unidecode==1.1.1 scikit-learn==0.21.3 bson==0.5.8 Autologging==1.3.1

@ismaelsleem Thank you for posting the version information. I also faced similar challenges when this wonderful work was released but managed to run it.

I think you can now close this issue.

zakidotai avatar Jul 22 '24 06:07 zakidotai