Open poopkinel opened 1 year ago
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!