MaartenGr / MaartenGr/BERTopic
Latest version of Bertopic incompatible with latest version of River
- Dominant language
- Python
- Stars
- 7.8k
- Forks
- 920
- Avg merge
- 22h 24m
- Merged PRs (30d)
- 5
Description
In the Bertopic page about online modelling, the docs [recommend using River](https://maartengr.github.io/BERTopic/getting_started/online/online.html#river)
But when I try to install both
pip install bertopic
pip install river
I get the following conflict messages:
```
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
river 0.19.0 requires **numpy>=1.25.2**, but you have numpy 1.24.4 which is incompatible.
```
```
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
numba 0.57.1 requires **numpy<1.25**,>=1.21, but you have numpy 1.25.2 which is incompatible.
```
(emphasis added)
numba doesn't seem to be a direct dependency of Bertopic, but I'm confident Bertopic is importing it somewhere, since River installs fine if I uninstall Bertopic first
As a quick assist, it would be helpful if you could say which version of River you used to make the example in the linked docs work.
Thanks :)
Contributor guide
Research direction
Start with the linked online modelling documentation's River section and reproduce the two pip installation commands to confirm the numpy, numba, and River conflict. Done means identifying a compatible version combination and correcting the documented recommendation or installation guidance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- numpy, python
- Domain
- documentation, machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100