-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running cythonize failed! #144
Comments
Hello! thanks for reporting the issue! let me do some experiments and i'll get back to you hopefully soon! |
Hi @poopkinel - a bit late, but if you're still stuck on this then I'd take a couple of steps back. Unfortunately the latest versions of Python may have C compilation-related errors on Windows. I'd try using Python 3.8 to start with cf. #148. It's best to do this in a venv (or a conda environment) so as not to mess up your base operating system Python distribution. |
Description
I wanted to pip install the module.
I downloaded Python3.12 to a new computer (windows). I installed pip with get-pip.py from the Python website. I ran
pip install -U contextualized_topic_models
. The installation started and failed at:Preparing metadata (pyproject.toml) did not run successfully.
....
RuntimeError: Running cythonize failed!
I expected the installation to finish successfully, installing all the dependencies.
I tried installing numpy myself:
pip install numpy
then I installed Cython myself:
pip install Cython
both were successful.
Then I tried installing CTM again with
pip install -U contextualized_topic_models
and I got the same response:
RuntimeError: Running cythonize failed!
The text was updated successfully, but these errors were encountered: