Can't start Mycroft CLI on Ubuntu vagrant using ./start-mycroft.sh debug


#1

I am running Ubuntu trusty on vagrant box. I am installing mycroft-core in my vagrant box. Everything installs fine using bash dev-setup.sh

I also create my temp branch from dev branch, but I get the following error when I try to start cli:

Starting cli
/vagrant/mycroft-core/.venv/bin/python3: Error while finding spec for ‘mycroft.client.text’ (<class ‘ImportError’>: /vagrant/mycroft-core/.venv/lib/python3.4/site-packages/fann2/_libfann.cpython-34m.so: undefined symbol: fann_copy)

I tried master branch and installing FANN manually, but nothing helps. Please let me know if I am missing any step.


#2

I had this problem, too. I finally figured out that it was the libfann package. My Debian-based Devuan system makes the libfann 2.1.0-beta package available. I had to download, build, and install 2.2.0, after which I stopped seeing this fann_copy error. Be sure to uninstall the 2.1.0-beta package before installing 2.2.0.