documentation
documentation copied to clipboard
VM setup guide not mentioning venv activation?
I've been following the VM guide for installing Mycroft to develop some skills (and maybe mycroft-core), and noticed that the page doesn't mention that you have to activate the virtual environment first. It isn't activated automatically and starting mycroft services without it being activated causes package manager errors.
Could somebody else confirm/deny this, please? If it is an issue, I'll correct the instructions :)
Thanks!
You shouldn't (TM) need to manually activate the venv, the start script should handle that automatically.
If you're getting errors during startup there may be a bug...
Hi Joshua, can you post the commands you used and the output you got?
Also can you confirm the OS you're running and which version of VirtualBox?
Commands
- sudo apt update
- sudo apt upgrade
- sudo apt install alsa pulseaudio
- git clone https://github.com/MycroftAI/mycroft-core.git
- cd mycroft-core
- ./dev_setup.sh -fm
- n - unstable branches (happens on stable AND unstable)
- y
- y
- y
- enter, y
- sudo reboot
- mycroft-start all
- mycroft-cli-client
Result
The following is produced in the logs: Link
Software
Host OS: ElementaryOS 6.0 Next Guest OS: Ubuntu 20.04.1-live-server-amd64 VirtualBox 6.1.10
I think that is mainly an issue with msm/pako reporting this error even when there are no system packages to install... (basically none of the default skills require special system packages to be installed)
Edit: and thanks for such a clear and concise description!