Issues installing sequitur-g2p

257 views
Skip to first unread message

Agrover112

unread,
Feb 21, 2022, 5:43:07 AM2/21/22
to kaldi-help
I am unable to instlal sequitur g2p because it is not recognizing Python?

sudo ./extras/install_sequitur.sh

.
/extras/install_sequitur.sh: WARNING: python library distutils.sysconfig not usable, this is necessary to figure out the path of Python.h.
Proceeding with installation.
./extras/install_sequitur.sh: Updating the repository -- we will try to merge with local changes (if you have any)
Already up to date.
python setup.py build
make: python: No such file or directory
make: *** [Makefile:6: build] Error 127
./extras/install_sequitur.sh: line 100: python: command not found
USER SITE: ./extras/install_sequitur.sh: line 103: python: command not found
SEQUITUR_PACKAGE:
SEQUITUR: /home/meow/kaldi/tools/sequitur-g2p/
PYTHONPATH:
./extras/install_sequitur.sh: line 108: python: command not found
Problem installing sequitur!

Jan Yenda Trmal

unread,
Feb 21, 2022, 5:49:59 AM2/21/22
to kaldi...@googlegroups.com
when you type "which python", what do you get?
To me this looks like you might have python3 (or python2) without symlink to python
y.

--
Go to http://kaldi-asr.org/forums.html to find out how to join the kaldi-help group
---
You received this message because you are subscribed to the Google Groups "kaldi-help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kaldi-help+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kaldi-help/71c4d2a6-043e-4e5b-bd9c-0278c67a1d0cn%40googlegroups.com.

Agrover112

unread,
Feb 21, 2022, 5:59:31 AM2/21/22
to kaldi-help
So apparently I'm forced to use sudo myscript.sh , and going by that definition I use sudo python which gives me nothing.... although I do have python2.7 in root which is invoked by python2.7 and python3 invoked by the similar fashion

Agrover112

unread,
Feb 21, 2022, 6:00:07 AM2/21/22
to kaldi-help
Note, without sudo , which python gives me  :/home/meow/miniconda3/bin/python

Jan Yenda Trmal

unread,
Feb 21, 2022, 9:05:07 AM2/21/22
to kaldi-help
yeah, I think that explains it. You should be able to run the script without sudo, if you are using miniconda python
y.

Jan Yenda Trmal

unread,
Feb 21, 2022, 9:19:09 AM2/21/22
to kaldi-help
also, `pip3 install sequitur-g2p` might work for you (which might be ultimately easier way to get to the finish line
y.
Reply all
Reply to author
Forward
0 new messages