Closed2

BERTopicをインストールしようとすると、ERROR: ResolutionImpossibleとなる

まつだけまつだけ
$ pipenv install bertopic

を実行すると、下記のエラー

The conflict is caused by:
    bertopic 0.6.0 depends on torch>=1.4.0
    bertopic 0.5.0 depends on torch>=1.4.0
    bertopic 0.4.3 depends on torch>=1.4.0
    bertopic 0.4.2 depends on torch>=1.4.0
    bertopic 0.4.1 depends on torch>=1.4.0
    bertopic 0.4.0 depends on torch>=1.4.0
    bertopic 0.3.4 depends on torch
    bertopic 0.3.3 depends on torch
    bertopic 0.3.2 depends on torch
    bertopic 0.3.1 depends on torch
    bertopic 0.3.0 depends on torch
    bertopic 0.2.3 depends on torch
    bertopic 0.2.2 depends on torch
    bertopic 0.2.1 depends on torch
    bertopic 0.1.2 depends on torch
    bertopic 0.1.1 depends on torch
    bertopic 0.1.0 depends on torch
    bertopic 0.0.1 depends on torch

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict


[36mERROR: Cannot install -r
/var/folders/6s/bmkt172j7_l6hrgg87k2qmgh0000gn/T/pipenv-hccgpvtv-requirements/pipenv-ckzuk72_-requirement.txt (line 1) because
these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit
https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
[0m
✘ Installation Failed
このスクラップは2023/01/21にクローズされました