MycroftAI / mycroft-precise

A lightweight, simple-to-use, RNN wake word listener
Apache License 2.0
854 stars 230 forks source link

KDE Neon and Tensorflow 1.13.2 #166

Open emphasize opened 4 years ago

emphasize commented 4 years ago

I’m running Mycroft on a pi4b in the KDE Bigscreen OS environment (KDE Neon)

The source install of mycroft-precise leads to

ERROR: Could not find a version that satisfies the requirement tensorflow<1.14,>=1.13 (from mycroft-precise==0.30) (from versions: none) No matching distribution found for tensorflow<1.14,>=1.13 (from mycroft-precise==0.30)

and there seems no way around this.

I would build tensorflow from source but I simply have no clue how to .configure pre-process. Bazel is already compiled.

Any guidance would be greatly apprciated. Additionally this should be mentioned here or here

Thanks

MatthewScholefield commented 4 years ago

I think someone has a PR for tensorflow 2.0 support. Perhaps that might work? If you test it and get it to work it'd be great if you could comment on that PR

emphasize commented 4 years ago

Regarding the PR (from; tf 2.2): At least my ArchLinux Virtualbox (x86_64;py3.8 (v)env) refuses to cooperate (same reason)

EDIT: this behaviour changed with editing setup.py

install_requires=[
        'numpy',
        'tensorflow-gpu==2.2.0rc',

to tensorflow-gpu==2.2.0

up and running now (archlinux VM)

MatthewScholefield commented 4 years ago

Cool, yeah my PR-for-the-PR should fix that: https://github.com/andreselizondo-adestech/mycroft-precise/pull/1