Closed pfps closed 1 year ago
The problem may be that I am running Python 3.11 but deepspeech does not install for any Python newer than 3.6 (or maybe 3.9).
The error message indicates that there is a conflict between the dependencies of the rhasspy-asr-deepspeech package versions 0.4.0 and 0.4.1, both of which require deepspeech==0.9.3.
One possible solution is to remove the specific version requirement for deepspeech in your installation command and allow pip to attempt to solve the dependency conflict automatically.
Another possibility, as suggested by the author of the package, is that deepspeech may not be compatible with Python versions newer than 3.6 or 3.9, while you may be running Python 3.11. In this case, you could try downgrading your Python version to a compatible one and then installing the package again.
Additionally, it's always a good practice to ensure that your package manager (pip in this case) is up-to-date before installing any packages, as outdated package managers can cause issues with package installations. You can upgrade pip using the command python -m pip install --upgrade pip
.
Thanks. I can't downgrade Python as my Linux system depends on it. What I did was
./configure PYTHON=/usr/bin/python3.7
as Python 3.7 was installed on my system.
That seems to have fixed this problem. But there should be a check in configure for the maximum version of Python that is permissable.
I was able to get further by only using kaldi text to speech but that failed during run time because of changes to some Python asynchronous package. Using Python 3.7 fixed this problem as well.
Okay i hope so you will fix can you mark as answer the my previous answer? Thanks
How does one add the correct answer marker in GitHub? I can close this issue as completed/... but I don't know how add an answer marker.
oh my mistake that's an issue only can possible discussions. No worries 👍 Have a nice codings!
When I install from source I get the following error message from pip
Collecting rhasspy-asr-deepspeech~=0.4.0 Downloading rhasspy-asr-deepspeech-0.4.0.tar.gz (4.6 kB) Preparing metadata (setup.py) ... done INFO: pip is looking at multiple versions of pyyaml to determine which version is compatible with other requirements. This could take a while. INFO: pip is looking at multiple versions of pydash to determine which version is compatible with other requirements. This could take a while. INFO: pip is looking at multiple versions of networkx to determine which version is compatible with other requirements. This could take a while. INFO: pip is looking at multiple versions of jsonlines to determine which version is compatible with other requirements. This could take a while. INFO: pip is looking at multiple versions of aiohttp to determine which version is compatible with other requirements. This could take a while. INFO: pip is looking at multiple versions of aiofiles to determine which version is compatible with other requirements. This could take a while. INFO: pip is looking at multiple versions of aioconsole to determine which version is compatible with other requirements. This could take a while. INFO: pip is looking at multiple versions of to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of voice2json to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install voice2json because these package versions have conflicting dependencies.
The conflict is caused by: rhasspy-asr-deepspeech 0.4.1 depends on deepspeech==0.9.3 rhasspy-asr-deepspeech 0.4.0 depends on deepspeech==0.9.3
To fix this you could try to: