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 - Python.Runtime.BadPythonDllException #98

Open sidneyaraujomelo opened 1 year ago

sidneyaraujomelo commented 1 year ago

Describe the bug When running Catalyst.Spacy.Test I get a Python.Runtime.BadPythonDllException. 'Runtime.PythonDLL was not set or does not point to a supported Python runtime DLL. See https://github.com/pythonnet/pythonnet#embedding-python-in-net'

Additional context I have tried to set Runtime.PythonDLL as suggested in the github link shown in the error to python37.dll, as the Installer.EmbeddedPythonHome in Spacy.Initialize points to a C:\Users\%USER%\AppData\Local\python-3.7.3-embed-amd64 but when I do so I get the error from issue #95.

Thought that might be a problem with a python version from an earlier execution so I tried deleting that python folder and the zipped file it is unzipped from and ran the test again. It downloaded the same python version and I got the same error.

If there's anything on my end that I should try, let me know!