MycroftAI / mycroft-precise

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

numpy version/dependency issue? #220

Open nataliamush opened 2 years ago

nataliamush commented 2 years ago

Can't seem to resolve this by messing with versions - when I try to run precise-train I get this error:

ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 44 from C header, got 40 from PyObject

Attempting to resolve this by changing my numpy version (as a lot of Stack Overflow posts suggested lol) gives me:

raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'numpy==1.16' distribution was not found and is required by mycroft-precise

Wondering if there's dependency issues that can be resolved systematically?

TheRealDGD commented 2 years ago

which version of python are you using? If its 3.8 you should use 3.7 because numpy 1.16 is not supported on 3.8.