Kodi Community Forum
No module named requests Error? How to Fix? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+--- Thread: No module named requests Error? How to Fix? (/showthread.php?tid=237657)



No module named requests Error? How to Fix? - bloodhod - 2015-09-03

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?


RE: No module named requests Error? How to Fix? - Karnagious - 2015-09-03

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