Skip to content

[Bug] trimesh and pywavefront are missing from install_requires in setup.cfg #2459

@Helbronner

Description

@Helbronner

Describe the bug

The dependencies trimesh and pywavefront are listed in requirements.txt but are missing from the install_requires section within setup.cfg.

Crucially, while pip install -e . (editable mode) completes successfully without warnings, it fails to install these required libraries. This leads to a ModuleNotFoundError at runtime when attempting to run Manim scenes or import the package in external scripts. Furthermore, if the package is published to PyPI in its current state, the resulting distribution will be broken, as the metadata will not include these essential dependencies, leading to incomplete installations for all end-users.

Code:

# Create a clean virtual environment
python3 -m venv venv

# Enter the virtual environment (macOS)
source venv/bin/activate

# Install the project in editable mode (without -r requirements.txt)
python3 -m pip install -e .

# Run example_scenes.py
manimgl example_scenes.py OpeningManimExample -ol

Wrong display or Error traceback:

ModuleNotFoundError: No module named 'trimesh'
ModuleNotFoundError: No module named 'pywavefront'

Additional context

This seems to be a regression introduced in the merge on Feb 11, 2026 (specifically in commit 77feda7). It appears that while these dependencies were added to the codebase and requirements.txt, they were inadvertently omitted from setup.cfg.

I have verified that adding these two dependencies to setup.cfg resolves the issue. I will submit a Pull Request shortly to fix this by updating install_requires and sorting the list alphabetically.

Workaround

If you are using an editable install and encountering this ModuleNotFoundError, you can manually install the missing dependencies.

Important: Please ensure you have activated your virtual environment before running the command to avoid cluttering your global Python installation:

1. Activate your virtual environment:

  • macOS: source venv/bin/activate
  • Ubuntu/Linux: source venv/bin/activate
  • Windows (Command Prompt): venv\Scripts\activate.bat
  • Windows (PowerShell): .\venv\Scripts\Activate.ps1

Note: Replace venv with the actual name of your virtual environment folder if it differs.

2. Install the missing packages:

pip install trimesh pywavefront

Hope this helps! Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions