Mycroft-youtube failed to load

I have installed a skill, but it fails to load. I know nothing about Python, so help would be greatly appreciated. The skill can be found at GitHub - augustnmonteiro/mycroft-youtube: A skill to play youtube.

When starting Mycroft, I get this error:
22:13:51.636 - mycroft.skills.core:load_skill:166 - ERROR - Failed to load skill: youtube
Traceback (most recent call last):
File “/home/nelson/mycroft-core/mycroft/skills/core.py”, line 128, in load_skill
imp.PY_SOURCE))
File “/usr/lib/python3.7/imp.py”, line 234, in load_module
return load_source(name, filename, file)
File “/usr/lib/python3.7/imp.py”, line 171, in load_source
module = _load(spec)
File “”, line 696, in _load
File “”, line 677, in _load_unlocked
File “”, line 728, in exec_module
File “”, line 219, in _call_with_frames_removed
File “/opt/mycroft/skills/youtube/init.py”, line 19, in
from firebase import firebase
File “/home/nelson/mycroft-core/.venv/lib/python3.7/site-packages/firebase/init.py”, line 3
from .async import process_pool
^
SyntaxError: invalid syntax

This is because async became a keyword in Python 3.7.

You could either run this with Python 3.6 or below, how to do this depends on what OS you are using.
An alternative would be to rename async in the firebase package you have to anything that’s not async.

Unfortunately neither of these are the best fix. Ultimately, firebase needs to update their package :frowning:

You could try the Youtube skill fromm @AIIX. It seems newer

2 Likes