Question about creating requirements.txt

I’ve developed a skill for Mycroft that works on my Linux machine but fails to work on Picroft. I realized that the problem was with the skills not installing, because once I manually installed all the libraries needed in my script it started working (although for some reason it still generates an error after running.)

How do you all generate your requirements.txt files? Do I need to edit the requirements.sh file?

Derek

You put the names of any pip packages your skill needs on a new line and they will be automatically installed when the skill is installed. If you don’t know what the exact package name is, you can run workon mycroft; pip freeze on your computer to get a listing of all the packages installed.

1 Like