Open aquatix opened 1 year ago
The same issue occurs with Python 3.10.x. However, on Python 3.9 you can simply run python setup.py install
to set everything up just fine.
You can use a venv/conda to set up a 3.9 environment easily.
Python 3.9 is not an option for us, as warcit has to work inside a bigger project that targets Python 3.10+
On installing warcit in a python 3.11 venv, I get a compilation error:
This is a known issue with cChardet: https://github.com/PyYoshi/cChardet/issues/81 and has not been fixed since last year. It's unlikely that it will be fixed soon.
There are options to for example move to a fork at https://github.com/faust-streaming/cChardet but also updating to a recent Cython helps (tested):
pip install --upgrade Cython
. Maybe add the latter as a dependency for Python 3.11 and up?