Mycroft Community Forum

Mycroft msk error

I’m trying to create my own skill but whenever I run the mycroft-msk command I get

ImportError: cannot import name ‘get_config_path’ from ‘git.config’ (/home/pi/mycroft-core/.venv/lib/python3.7/site-packages/git/config.py)

Does anyone know how to fix this

This is likely an issue with the python environment. Has this worked before? If so, what’s changed?

no it’s the first time I have used msk

I had this error, and fixed it with:

mycroft-pip uninstall gitpython
mycroft-pip install gitpython

The error is caused by using an older version of GitPython (3.0.3), while MSK has been updated to require 3.0.5.

2 Likes

gh9st33’ s fix worked for me as well. Thank you.
I flashed my picroft yesterday.
uname -a: Linux picroft 5.4.51-v7l+ #1333 SMP Mon Aug 10 16:51:40 BST 2020 armv7l GNU/Linux
I am wondering why this kit includes an outdated version of gitpython?