2024-01-22, 23:53
Hi all,
I have a Problem with Kodi 20.3 with BS4.
I add in Addon.xml this Code.
In my Default.py added :
I installed BeautifulSoap 4.12.2 and check it in System-->Addons ---> Manage.. ---> and it is activated and listed.
But I only get the log Error Massage :
I can not install another version of bs4. Only 4.12.2 is possible by Nexus 20.3 x64.
Thx a lot.
Best Regards.
I have a Problem with Kodi 20.3 with BS4.
I add in Addon.xml this Code.
:<import addon="script.module.beautifulsoup4" />
In my Default.py added :
Code:
from bs4 import BeautifulSoup4
I installed BeautifulSoap 4.12.2 and check it in System-->Addons ---> Manage.. ---> and it is activated and listed.
But I only get the log Error Massage :
Code:
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'ImportError'>
Error Contents: cannot import name 'BeautifulSoup4' from 'bs4' (C:\Users\.........\Kodi\addons\script.module.beautifulsoup4\lib\bs4\__init__.py)
Traceback (most recent call last):
File "C:\Users\.........\Roaming\Kodi\addons\............\default.py", line 14, in <module>
from bs4 import BeautifulSoup4
ImportError: cannot import name 'BeautifulSoup4' from 'bs4' (C:\Users\........\AppData\Roaming\Kodi\addons\script.module.beautifulsoup4\lib\bs4\__init__.py)
-->End of Python script error report<--
I can not install another version of bs4. Only 4.12.2 is possible by Nexus 20.3 x64.
Thx a lot.
Best Regards.