-
For example instead of importing gtts installed system-wide as python module I have gtts-cli installed with pipx. How can I use it in python script? Disclaimer: I don't have any knowledge of programming at all. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
This isn't the correct usage. You should invoke it with command line like this: |
Beta Was this translation helpful? Give feedback.
-
I know but I want the program installed with pipx to become part of a script so that the input is taken from csv, file processed with pipx installed program and be further processed with a script. I want to achieve what was done here (as an example) but with pipx installed programs, for example piper. |
Beta Was this translation helpful? Give feedback.
pipx is used to install command line applications, i.e. you can run them from the command line directly.
I think in this case you should create a virtual environment, and install packages like piper and gtts into it.