gooofy / zamia-speech

Open tools and data for cloudless automatic speech recognition
GNU Lesser General Public License v3.0
443 stars 86 forks source link

Problems installing #83

Closed maltejanssen closed 4 years ago

maltejanssen commented 4 years ago

Hi, I tried to install your packages on CentOS 8.

I got the following output:

(base) [malte@localhost Python-3.5.9]$ sudo yum install kaldi-chain-zamia-speech-de kaldi-chain-zamia-speech-en python-kaldiasr python-nltools pulseaudio-utils pulseaudio
Zamia AI Repo                                   2.1 kB/s | 2.9 kB     00:01    
Package pulseaudio-utils-11.1-22.el8.x86_64 is already installed.
Package pulseaudio-11.1-22.el8.x86_64 is already installed.
Error: 
 Problem 1: conflicting requests
  - nothing provides python-setproctitle needed by python-nltools-0.5.0-1.el7.x86_64
 Problem 2: package python-kaldiasr-0.5.2-2.el7.x86_64 requires numpy, but none of the providers can be installed
  - conflicting requests
  - package numpy-1:1.15.0-1.el7.x86_64 is excluded
  - nothing provides python-nose needed by numpy-1:1.15.0-1.el7.x86_64
  - nothing provides /usr/bin/python needed by numpy-1:1.15.0-1.el7.x86_64
 Problem 3: package kaldi-chain-zamia-speech-en-20190609-1.el7.x86_64 requires kaldi-asr, but none of the providers can be installed
  - conflicting requests
  - nothing provides /usr/bin/python needed by kaldi-asr-5.4.248-1.el7.x86_64
 Problem 4: package kaldi-chain-zamia-speech-de-20190328-1.el7.x86_64 requires kaldi-asr, but none of the providers can be installed
  - conflicting requests
  - nothing provides /usr/bin/python needed by kaldi-asr-5.4.248-1.el7.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

My /usr/bin folder looks the following:


lrwxrwxrwx. 1 root root          9 Dec  3 19:22  python -> python3.6
lrwxrwxrwx. 1 root root          9 Oct  8 23:08  python2 -> python2.7
-rwxr-xr-x. 1 root root       9264 Oct  8 23:08  python2.7
lrwxrwxrwx. 1 root root         25 Dec  2 20:16  python3 -> /etc/alternatives/python3
lrwxrwxrwx. 1 root root         31 Jun 22 17:20  python3.6 -> /usr/libexec/platform-python3.6

Any ideas what is wrong with my setup?

maltejanssen commented 4 years ago

Sorry, just saw the requirements further down the readme. Will try to install properly.

maltejanssen commented 4 years ago

Okay, I have tried with Python 2.7 now, but the problem somehow persists. I really don't understand why nothing provides /usr/bin/python, because it is installed for sure.

[root@pbfile07 bin]# ls -l | grep python
lrwxrwxrwx  1 root root          9 Dec  9 15:31 python -> python2.7
lrwxrwxrwx  1 root root          9 Oct  8 23:08 python2 -> python2.7
-rwxr-xr-x  1 root root       9264 Oct  8 23:08 python2.7
-rwxr-xr-x  1 root root       1846 Oct  8 23:08 python2.7-config
lrwxrwxrwx  1 root root         16 Oct  8 23:08 python2-config -> python2.7-config
lrwxrwxrwx  1 root root         25 Dec  9 15:22 python3 -> /etc/alternatives/python3
lrwxrwxrwx  1 root root         31 Jun 22 17:20 python3.6 -> /usr/libexec/platform-python3.6
lrwxrwxrwx  1 root root         17 Jun 22 17:20 python3.6-config -> python3.6m-config

Numpy is also installed:

[root@pbfile07 bin]# python -m pip install numpy
WARNING: Running pip install with root privileges is generally not a good idea. Try `__main__.py install --user` instead.
Requirement already satisfied: numpy in /usr/lib64/python2.7/site-packages

Could it have anything to do with using Cent OS 8 intead of 7?

maltejanssen commented 4 years ago

Setupproctitle, which is not found in the first error, is like all python packages installed via pip btw, since there is no yum version for CentOS 8. Could that maybe be an issue?

maltejanssen commented 4 years ago

I have read a bit about yum and linux. Sorry I am a noob when it comes to linux and new to CentOS. The problem is indeed due to me trying to install packages for a different os (CentOS 7 vs8).