MaartenGr / MaartenGr/KeyBERT

`Illegal instruction` on import

Open
#274 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
4.2k
Forks
385
PR merge metrics
No merged PRs in 30d

Description

I have a Debian 13, Python 3.13.5, installed and tested KeyBERT with:
```
root@homeserver ~# python3 -m venv keybertvenv
root@homeserver ~# source keybertvenv/bin/activate
(keybertvenv) root@homeserver ~# pip install keybert
[...]
(keybertvenv) root@homeserver ~# python
Python 3.13.5 (main, Jun 25 2025, 18:55:22) [GCC 14.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from keybert import KeyBERT
Illegal instruction
(keybertvenv) root@homeserver ~#
```
So, not only I can't import with above error message, I even get thrown out of the python CLI.
Am I doing something wrong or did I find a bug?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported import in a Debian 13 environment with Python 3.13.5, using a clean virtual environment and the Python CLI. Investigate the crash at `from keybert import KeyBERT`; the issue is done when the cause of the illegal instruction is identified and importing KeyBERT no longer terminates the interpreter or the supported limitation is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.