0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Python3.12でBERTopicをインストールできない

Posted at

環境

  • Ubuntu 20.04.6
  • Python: 3.12.2
  • Poetry: 1.8.1
  • BERTopic: 0.16.4

問題

  • poetry add bertopic でインストールしようとすると、numbaのインストール時にエラー発生
    • Note: This error originates from the build backend, and is likely not a problem with poetry but with numba (0.51.2) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "numba (==0.51.2)"'.

解決の経緯

原因

解決法

  • 最初にnumbaの最新バージョンをインストールしてから、bertopicをインストールする

    $ poetry add numba==0.60.0
    $ poetry add bertopic
    

参考

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?