Skip to content

Conversation

@zngguvnf
Copy link
Contributor

During text normalization for librispeech my calculation crashed
because $PYTHON in normalize_text.sh is calling the system
python and not the python from my virtual enviroment.

Is there any reason to use $PYTHON and not python?
When inside a virtual env python will point to this python (and pip packages).
When outside a virtual env python will point to the system python like now.

When using a virtualenv `$PTYHON` points to the system python and not to the python in the virtualenv. Using `python` however points to the virtualenv python (when inside a virtualenv) or the systempython (when not in a virtualenv).
@danpovey
Copy link
Contributor

That script hasn't been touched in a long time.. I think your changes are fine, merging.

@danpovey danpovey merged commit c702742 into kaldi-asr:master Jan 13, 2020
wonkyuml pushed a commit to wonkyuml/kaldi that referenced this pull request Jan 16, 2020
Bar-BY pushed a commit to Bar-BY/kaldi that referenced this pull request Jan 21, 2020
galv pushed a commit to galv/kaldi that referenced this pull request Dec 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants