Hello, I am another new user, and so far my experience, both with using Mycroft itself as well as this forum, has been excellent.
I am running Linux Mint 18.3 and Mycroft 18.2.9 beta.
I would really like to get the desktop skill to work, however, there is an error when it attempts to load the skill.
From running with the “debug” option:
15:56:28.118 - mycroft.skills.core:load_skill:105 - INFO - ATTEMPTING TO LOAD SKILL: skill-desktop-launcher with ID skill-desktop-launcher
15:56:28.122 - mycroft.skills.core:load_skill:144 - ERROR - Failed to load skill: skill-desktop-launcher
Traceback (most recent call last):
File “/home/doctor/mycroft-core/mycroft/skills/core.py”, line 115, in load_skill
(’.py’, ‘rb’, imp.PY_SOURCE)
File “/usr/lib/python3.5/imp.py”, line 234, in load_module
return load_source(name, filename, file)
File “/usr/lib/python3.5/imp.py”, line 172, in load_source
module = _load(spec)
File “”, line 693, in _load
File “”, line 673, in _load_unlocked
File “”, line 665, in exec_module
File “”, line 222, in _call_with_frames_removed
File “/opt/mycroft/skills/skill-desktop-launcher/init.py”, line 38, in
from gi.repository import Gio as gio
ImportError: No module named 'gi’
I have been doing a bit of research (thank you internet) on gi/Gio and I realize it has to do something with a Pygobject. [aside: I have some c++ experience, but little/no experience with python itself ]. So I have tried to both “sudo apt-get install pygobject (also through the mint software manager)” as well as pip(3) installing (I don’t know if I am using python3) however neither have solved the issue.
With more searching I realized that it was not installing in the virtual enviroment (?) or some such. When I tried to run “workon mycroft”
ERROR: Environment 'mycroft' does not exist. Create it with 'mkvirtualenv mycroft'.
I have no “virtualenv” folder, but I do have
~/mycroft-core/.venv $ ls -a bin include lib lib64 .mycroft-skills pip-selfcheck.json pyvenv.cfg ~/mycroft-core/.venv $ ls -a bin . coverage-3.5 explode.py msm pilfile.py __pycache__ pyrsa-encrypt-bigfile python .. coveralls futurize painter.py pilfont.py pyjoke pyrsa-keygen python3 activate createfontdatachunk.py gifmaker.py pasteurize pilprint.py pyjokes pyrsa-priv2pub thresholder.py activate.csh ddg3 gtts-cli pbr pip pyjwt pyrsa-sign viewer.py activate.fish easy_install gtts-cli.py pep8 pip3 pyrsa-decrypt pyrsa-verify wheel coverage easy_install-3.5 miniterm.py pilconvert.py pip3.5 pyrsa-decrypt-bigfile pytest wsdump.py coverage3 enhancer.py msk pildriver.py player.py pyrsa-encrypt py.test
Hopefully that is enough information to get started with help.