Comments (1)
There is so much wrong here.
Let's pick up at the beginning.
After
pip install stt
...
This is not helping us understand what command you really typed.
When I type pip install stt
in a shell, it will use my current environment to interpret what the heck does pip
mean.
With my configuration it is been interpreted like so: /usr/bin/pip install stt
.
On my system /usr/bin/pip
is just an executable python script that looks like so:
#!/usr/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from pip._internal.cli.main import main
if __name__ == "__main__":
sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
sys.exit(main())
The shabang #!/usr/bin/python
means that pip
uses by default /usr/bin/python
which on my system is just an alias to /usr/bin/python3.10
.
❯ file /usr/bin/python
/usr/bin/python: symbolic link to python3
❯ file /usr/bin/python3
/usr/bin/python3: symbolic link to python3.10
❯ file /usr/bin/python3.10
/usr/bin/python3.10: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=56989432ace73d863c0fc4c2b44ea41ea895a75a, for GNU/Linux 4.4.0, stripped
If I would have been in a virtual environment, it would be using another python
and another pip
with a different site_packages/
directory.
Similarly, when you run stt --model *.tflite --scorer *.scorer --audio *.wav
, you actualy are looking in your $PATH
for a file named stt
.
On my system:
❯ which stt
/home/waser/.local/bin/stt
❯ file /home/waser/.local/bin/stt
/home/waser/.local/bin/stt: Python script, ASCII text executable
If you did pip install stt
inside a virtual environment but you try to run the command inside your system environment it will produce the results you know: zsh: stt: command not found
.
Since it's not an issue with STT but rather a miscommunication between you and your system I am going to close this issue.
from stt.
Related Issues (20)
- Bug: lm_optimize fails due to check failing. HOT 2
- Bug: Segmentation Fault HOT 1
- Bug: Scorer.fill_dictiomary() Python function throws SWIG exception
- Feature request: Multiple Parallel/Concatenatable Models
- Bug: Android couldn`t find libstt-jni.so
- Feature request: Cancel previous workflow actions
- Feature request: Tensorflow 2.0 compatibility HOT 11
- Feature request: add Typescript @types for the WASM bindings
- Bug: --alphabet required with --force_bytes_output_mode off but not accepted as a CLI option HOT 4
- Update `genrate_scorer_package` error message when not given any `checkpoint` HOT 1
- Bug: Update `Python` inside `Dockerfile.build` HOT 1
- Bug: Illegal Hard Instruction on generate_scorer_package
- Improvment: `NotFoundError`: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for `best_dev_checkpoint` HOT 2
- Bug: stt complains libbz2.so.1.0 not found HOT 6
- Feature request: Replace Scorer.KenLM with Scorer.Transform HOT 18
- Bug: Importer `import_librivox.py` can't render absolute path of WAV files in CSV HOT 2
- Bug: Update `set-output` calls for ci pipeline v3 HOT 1
- Upload missing aarch64 and arm32 wheels to PyPi
- Bug: Model zoo seems to be gone HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stt.