Free | No tracking | Every fact with a source|German and English

Error / Installation

text-generation-webui: ModuleNotFoundError: No module named 'llama_cpp_binaries' (llama.cpp loader missing after update)

text-generation-webui can’t load GGUF models because the llama_cpp_binaries package is missing from your installation.

The message

File "…\text-generation-webui\modules\llama_cpp_server.py", line 10, in <module>
    import llama_cpp_binaries
ModuleNotFoundError: No module named 'llama_cpp_binaries'

Affects: TextGen (text-generation-webui), Python

Why is this happening?

Since version 3 (April 2025), text-generation-webui no longer uses llama-cpp-python for GGUF models. Instead, it uses the llama_cpp_binaries package, which includes a ready-made llama.cpp server. If you only updated the program code (for example with git pull) without reinstalling the packages, you won’t have the new package. On older installations, the Python version of the environment also didn’t match the available packages.

How to fix it

  1. In the text-generation-webui folder, run update_wizard_windows.bat and choose “A) Update the web UI”. This also installs the missing packages.
  2. If the updater says your Python version is outdated and a clean installation is needed, delete (or rename) the installer_files folder and restart start_windows.bat. Your models in the user_data folder will be preserved.
  3. If that doesn’t help, open the program environment with cmd_windows.bat and install the packages manually: pip install -r requirements\full\requirements.txt.
  4. If you installed text-generation-webui yourself with your own venv, activate your venv and run the same pip install command there.
  5. If you only need GGUF models, the Portable version from the Releases page is an easy alternative: It already includes all packages.

Better not: Don’t install llama-cpp-python manually: The current versions no longer use the old package, and it won’t fix the error.

Terms for this

Similar errors

Sources

Checked on Oct 27, 2026. Didn't help? Ask in the forum and name the graphics card, program, and the full message.