Kodi Community Forum

Full Version: No module named requests Error? How to Fix?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello I'm getting this error

Code:
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ImportError'>
                                            Error Contents: No module named requests
                                            Traceback (most recent call last):
                                              File "C:\Users\Indika\AppData\Roaming\Kodi\addons\script.iptv\addon.py", line 21, in <module>
                                                import requests
                                            ImportError: No module named requests
                                            -->End of Python script error report<--

How to fixHuhHuhHuhHuhHuhHuh?
requests is its own kodi addon module. You need to specify it as a dependency in the addon.xml, that way when your addon is installed it is pulled in from the official Kodi repo as well. I suspect it is in the addon.xml, and the addon has been installed manually.

In the meantime, you can download it via the Kodi repo.

http://kodi.wiki/view/Category:Add-on_libraries/modules