MycroftAI / mycroft-precise

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

Need to change module versions setup.py in order to run precise #225

Open TheRealDGD opened 2 years ago

TheRealDGD commented 2 years ago

Describe the bug To get an working version of precise you have to modify setup.py and change/force some module versions

    install_requires=[
        'numpy==1.16',
        'tensorflow>=1.13.0,<1.14',  # Must be on piwheels + match URL in setup.sh
        ..
        'keras<=2.1.5',
        'h5py<3.0.0',
        #'typing',
    ],

To Reproduce

git clone --branch master https://github.com/mycroftai/mycroft-precise
cd mycroft-precise
./setup.sh

ERROR: No matching distribution found for tensorflow==1.8.0

Expected behavior setup should be working without modifying setup.py Is there a reason not to change setup.py in the repository?

Log files ERROR: Could not find a version that satisfies the requirement tensorflow==1.8.0 (from mycroft-precise) (from versions: 1.13.1, 1.13.2, 1.14.0, 1.15.0, 1.15.2, 1.15.3, 1.15.4, 1.15.5, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.2.0rc0, 2.2.0rc1, 2.2.0rc2, 2.2.0rc3, 2.2.0rc4, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.3.0rc0, 2.3.0rc1, 2.3.0rc2, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.4.0rc0, 2.4.0rc1, 2.4.0rc2, 2.4.0rc3, 2.4.0rc4, 2.4.0, 2.4.1, 2.4.2, 2.4.3, 2.4.4, 2.5.0rc0, 2.5.0rc1, 2.5.0rc2, 2.5.0rc3, 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.6.0rc0, 2.6.0rc1, 2.6.0rc2, 2.6.0, 2.6.1, 2.6.2, 2.6.3, 2.7.0rc0, 2.7.0rc1, 2.7.0, 2.7.1, 2.8.0rc0, 2.8.0rc1, 2.8.0) ERROR: No matching distribution found for tensorflow==1.8.0

Environment (please complete the following information):

Additional context