snips_nlu learn

Versuch, das ganze auf dem Raspberry hin zu bekommen hat nicht geklappt. Am Mac geht es. Hier meine 'Mitschrift' der Versuche.

Stand Dezember 2019

snips mit learn auf raspberry installieren - geht nicht, am mach gehts


python3.5!

sollte man alles unter 'sudo su' machen?

https://snips-nlu.readthedocs.io/en/latest/quickstart.html
https://github.com/snipsco/snips-nlu

am mac gehts wohl, aber ich will ja am raspberry.

https://snips-nlu.readthedocs.io/en/latest/installation.html#install-snips-nlu

also erst mal rust:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
pip install setuptools_rust
pip install snips-nlu-utils

https://github.com/PyO3/setuptools-rust/blob/master/build-wheels.sh
https://pypi.org/project/setuptools-rust/

alles mit python3.5

sudo apt-get install libblas3 liblapack3 liblapack-dev libblas-dev
sudo apt-get install python3-numpy 
sudo pip3 install pybind11
git clone https://github.com/pybind/pybind11.git

(sudo apt-get install gfortran)
(
pip install Cython
before
pip install sklearn
)
sudo python3 setup.py develop


https://github.com/snipsco/snips-nlu


wget https://files.pythonhosted.org/packages/39/20/5c02e10eb54e293ddc86cf3575aaf39df061af2f095245de38cd260b180e/Deprecated-1.2.7.tar.gz

ohne sudo findet er deprecated nicht, mit kommt ein index out of range...
sys.path.append('/usr/local/lib/python3.6/site-packages/pip/_internal/utils/')
python3 -m snips_nlu download de