curiosity-ai / catalyst

🚀 Catalyst is a C# Natural Language Processing library built for speed. Inspired by spaCy's design, it brings pre-trained models, out-of-the box support for training word and document embeddings, and flexible entity recognition models.
MIT License
699 stars 71 forks source link

Catalyst.Spacy.Test - urllib3 needs openssl 1.1.1+ #95

Closed sven-n closed 1 year ago

sven-n commented 1 year ago

Describe the bug Running the Catalyst.Spacy.Test returns the following error: Unhandled exception. Python.Runtime.PythonException: ImportError : urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with OpenSSL 1.1.0j 20 Nov 2018. See: https://github.com/urllib3/urllib3/issues/2168

To Reproduce

Expected behavior The processed document should be appear as json in the console.

Screenshots grafik

hitendra1851 commented 1 year ago

Is there any update on this , I am facing the same issue.

sidneyaraujomelo commented 1 year ago

I'm also facing the same issue

theolivenbaum commented 1 year ago

Most probably due to the older Python.Included package used in Catalyst.Spacy, I've updated it in e2bb759 and will update the test project to the latest Catalyst.Spacy package as soon as it is published to NuGet.

theolivenbaum commented 1 year ago

Should be fixed in the latest release, if you could test and let me know.

sidneyaraujomelo commented 1 year ago

The issue has been fixed, however, I'm getting the following error: "Runtime.PythonDLL was not set or does not point to a supported Python runtime DLL". I have tried setting Runtime.PythonDLL to the python37.dll installed by Python.Installer but it didn't work. Should I open another issue?