I’m trying to create my own skill to interact with the google api, but when I execute mycroft it tells me that it fails to load the skill because it doesn’t find the module called with import. I checked and the modules needed are installed under my user folder while, mycroft access the root folder with the python modules. How can I make mycroft to use my local user python path instead of the root one?
Hi there, welcome to the Forums!
To keep your system cleaner, we generally use a Python virtual environment to keep all of Mycroft’s Python dependencies in one place. A little more on that here:
If you cloned the mycroft-core repo and ran the
dev_setup.sh script you can then run
mycroft-core/.venv/bin/activate or use
bin/mycroft-pip to interact with the venv without having to activate it
Edit: that is quite a special video thumbnail… lol
Thanks a lot, very useful information and this resolved completely the problem!