Fix Kodi 'Failed to Install a Dependency' Error
In this article
If Kodi shows a "Failed to install a dependency" error, it usually means the add-on you're trying to install relies on another add-on or library that isn't available or is incompatible. The quickest fix is to update Kodi, enable the correct repositories, and install the missing dependency manually. Below is a step-by-step guide to resolve this.
What You'll Need
- Kodi installed on your device (Windows, macOS, Android, iOS, Linux, or a TV box).
- Internet connection.
- Access to Kodi's settings and add-on menus.
- Optional: a USB keyboard if you're using a TV remote (some steps are easier with a keyboard).
Step-by-Step
- Update Kodi to the latest version. Outdated versions often have dependency issues. Go to the official Kodi website (kodi.tv) and download the latest version for your device, then install it. On Android, use the Google Play Store; on iOS, use the App Store; on Windows, use the installer from the site.
- Enable unknown sources (if needed). If you're installing from a third-party repository, go to Settings > System > Add-ons and toggle Unknown sources to On. Confirm the warning. This allows installation from repositories not in the official Kodi repository.
- Install the required repository. Most dependencies come from a repository. If the add-on you want requires a specific repo (e.g., the developer's repo), install that repo first. To do this, download the repository ZIP file from the developer's official site, then in Kodi go to Add-ons > Install from zip file and select the downloaded file.
- Update the repository. After installing the repo, go to Add-ons > My add-ons > Repositories, find the repo you just added, and select Update. This ensures the repo has the latest dependency versions.
- Try installing the add-on again. Go to Add-ons > Install from repository, select the repository, then find the add-on and install it. If it still fails, proceed to the next step.
- Identify the missing dependency. The error message usually names the dependency (e.g., "script.module.requests"). Note the exact name.
- Search for the dependency in the repository. Go to (or Dependencies if listed). Look for the missing dependency and install it manually. If it's not there, search online for the dependency's official repository and install that repo first.
- Install the dependency from a ZIP file. If the dependency is not in any repo, download the ZIP from the developer's official site, then go to Add-ons > Install from zip file and select it. Kodi will install the dependency.
- Restart Kodi. After installing the dependency, fully exit Kodi (not just to the home screen) and reopen it. Then try installing the original add-on again.
- Check for conflicting versions. If you have multiple repositories providing the same dependency, they may conflict. Go to Add-ons > My add-ons > Dependencies, find the dependency, and check its version. If you have an older version from another repo, update it or disable the conflicting repo temporarily.
Common Mistakes
- Installing an add-on from an outdated repository. Always update the repo first.
- Not enabling "Unknown sources" when using third-party repos.
- Downloading add-ons or dependencies from unofficial or untrusted websites—this can cause errors and security risks.
- Forgetting to restart Kodi after installing a dependency.
- Using a Kodi version that is too old for the add-on's requirements.
Tips
- Always use the official Kodi repository for core add-ons. Third-party repos may be abandoned, causing dependency issues.
- Keep a list of the dependencies you install manually—this helps if you need to reinstall Kodi.
- If you're using a TV box, consider using a mouse or remote with a keyboard to make navigation easier.
- Back up your Kodi build before making major changes. You can use the Backup add-on from the official repo.
- Check the Kodi forum or the add-on's official thread for known dependency issues—often there's a quick fix.
Troubleshooting
If the error persists after following the steps, try these in order:
- Clear the add-on cache. Go to Settings > System > Storage (or Add-ons > Manage dependencies) and clear the cache for the problematic add-on. This does not delete your data.
- Reset the add-on database. In some cases, a corrupt add-on database causes issues. Go to Settings > File manager, navigate to profile directory (usually
Kodi/userdata), and delete theAddons33.dbfile (or similar). Restart Kodi—it will rebuild the database. This only resets add-on metadata, not your media library. - Reinstall the repository. Remove the repository (Add-ons > My add-ons > Repositories > select repo > Disable or Remove) and reinstall it from the original source.
- Check for Kodi updates. If you're on a beta or nightly build, switch to a stable release.
- Perform a clean install. As a last resort, uninstall Kodi completely (this removes all settings and add-ons) and reinstall the latest version. You'll lose your configuration, so back up your
userdatafolder if you want to keep it.
Frequently Asked Questions
Why does Kodi say "failed to install a dependency" even after I installed the repository?
The repository may not include the exact dependency version required, or the dependency is in a different repository. Check the error message for the dependency name and search for it in other official repositories.
Can I ignore the dependency error and use the add-on anyway?
No, the add-on will likely not function correctly without its dependencies. It may crash or show errors.
Is it safe to download dependencies from random websites?
Only download from the official Kodi repository or the add-on developer's official site. Random sites may host malicious files.
How do I find out which dependency is missing?
The error message in Kodi usually lists the missing dependency. If not, check the add-on's log file (Settings > System > Logging, then view the log) for lines mentioning "dependency".
Will updating Kodi fix dependency errors?
Often yes, because newer Kodi versions include updated dependency libraries and better compatibility with add-ons.
What if the dependency is not available for my Kodi version?
You may need to downgrade Kodi to a version that the add-on supports, or find an alternative add-on with similar functionality.