Skip to content

darkdump: broken venv missing deps, darkscrape: face_recognition fails on Python 3.14 #5024

Description

@Selene0623

darkdump (2:Darkdump.4.r5.g59912f6-1)

The venv at `/usr/share/darkdump/venv/` is empty — only pip is installed. Running `darkdump` fails with missing modules:

```
ModuleNotFoundError: No module named 'nltk'
ModuleNotFoundError: No module named 'requests'
ModuleNotFoundError: No module named 'textblob'
ModuleNotFoundError: No module named 'termcolor'
```

Fix: The PKGBUILD needs to install the deps from `requirements.txt` into the venv during packaging:
```bash
/usr/share/darkdump/venv/bin/pip install -r /usr/share/darkdump/requirements.txt
```

darkscrape (68.2ca0e37-8)

`import face_recognition` at module level fails on Python 3.14 because `face_recognition_models` uses `pkg_resources`, which was removed in setuptools 84+:

```
ModuleNotFoundError: No module named 'pkg_resources'
```

`face_recognition` is only used for the optional face-matching feature, not the core scraping functionality. The import should be lazy/optional.

Suggested fix: Either:

  1. Pin `setuptools<70` in the darkscrape venv, or
  2. Make the `face_recognition` import conditional (try/except with a warning)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions