Re: Assistance installing Faster-Whisper

Shervin Emami <[email protected]> Sat, 14 Jun 2025 07:29:40 +1000
Newsgroups gmane.comp.kde.devel.accessibility
Message-ID <CAF_wPwsg+TOZ0e+arBk66n46M0OHeuX5NB+L2odygoOU9mYD5w@mail.gmail.com>
--00000000000008697206377abfae
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Sorry Bridger and Benson that I keep confusing you two =F0=9F=98=85

But yes I'll help via separate email since I assume it will take many
messages back & forth before it's setup and those messages won't be
relevant to KDE.

Cheers,
Shervin.



On Sat, 14 June 2025, 7:09=E2=80=AFam Bridger Reed-Lewis, <
[email protected]> wrote:

> Okay send the email to you shervin
>
> On Fri, Jun 13, 2025 at 9:31=E2=80=AFAM Benson Muite <benson_muite@emailp=
lus.org>
> wrote:
>
>> Hi Shervin,
>>
>> On Fri, Jun 13, 2025, at 3:25 PM, Shervin Emami wrote:
>> > Hi Benson,
>> >
>> > I'll help you install faster-whisper and also my script so it sends
>> > keyboard presses instead of displaying characters in a console. But it
>> will
>> > take many steps, so let's take the discussion elsewhere. Email me
>> privately
>> > and we can discuss.
>> >
>>
>> Thanks. Do not need assistance, though Bridger may appreciate it.
>>
>> > Cheers,
>> > Shervin.
>> >
>> >
>> > On Fri, 13 June 2025, 6:48=E2=80=AFpm Bridger Reed-Lewis, <
>> > [email protected]> wrote:
>> >
>> >> I am going to try the script again, and i will get back to everyone
>> with a
>> >> update.
>> >>
>> >> On Fri, Jun 13, 2025 at 12:40=E2=80=AFAM Bridger Reed-Lewis <
>> >> [email protected]> wrote:
>> >>
>> >>> I got it installed now, i had to run the install in a virtual
>> environment
>> >>> it's what chatgpt recommended.
>> >>>
>> >>>
>> >>> On Fri, Jun 13, 2025 at 12:36=E2=80=AFAM Bridger Reed-Lewis <
>> >>> [email protected]> wrote:
>> >>>
>> >>>> I am running this on Arch, and i keep getting this error:
>> >>>>
>> >>>> *externally-managed-environment*
>> >>>>
>> >>>>
>> >>>>
>> >>>>
>> >>>>
>> >>>>
>> >>>>
>> >>>>
>> >>>>
>> >>>>
>> >>>>
>> >>>>
>> >>>>
>> >>>>
>> >>>>
>> >>>> *=C3=97 This environment is externally managed=E2=95=B0=E2=94=80> T=
o install Python
>> packages
>> >>>> system-wide, try 'pacman -S    python-xyz', where xyz is the packag=
e
>> you
>> >>>> are trying to    install.        If you wish to install a
>> non-Arch-packaged
>> >>>> Python package,    create a virtual environment using 'python -m ve=
nv
>> >>>> path/to/venv'.    Then use path/to/venv/bin/python and
>> >>>> path/to/venv/bin/pip.        If you wish to install a non-Arch
>> packaged
>> >>>> Python application,    it may be easiest to use 'pipx install xyz',
>> which
>> >>>> will manage a    virtual environment for you. Make sure you have
>> >>>> python-pipx    installed via pacman.note: If you believe this is a
>> mistake,
>> >>>> please contact your Python installation or OS distribution provider=
.
>> You
>> >>>> can override this, at the risk of breaking your Python installation
>> or OS,
>> >>>> by passing --break-system-packages.*
>> >>>> *hint: See PEP 668 for the detailed specification.*
>> >>>>
>> >>>> I ran the override, and it kept installing in a folder that didn't
>> >>>> exist, even trying to open it in the terminal. Ended up uninstallin=
g
>> it,
>> >>>> weirdly enough I tried to install it on an older laptop and got as
>> far as
>> >>>> executing the python script they had us make, ran it and the progra=
m
>> >>>> froze.
>> >>>>
>> >>>> On Fri, Jun 13, 2025 at 12:18=E2=80=AFAM Benson Muite <
>> >>>> [email protected]> wrote:
>> >>>>
>> >>>>>
>> >>>>> On Fri, Jun 13, 2025, at 10:34 AM, Bridger Reed-Lewis wrote:
>> >>>>> > I am wondering if the community would help me install
>> faster-whisper,
>> >>>>> which
>> >>>>> > will be the back end for the dictation tool I need. Shervin
>> mentioned
>> >>>>> > having custom code to make it similar to what Mac OS offers for
>> its
>> >>>>> users.
>> >>>>> > My laptop came in way way earlier than I thought it would,  I'm
>> ready
>> >>>>> to
>> >>>>> > jump all into the system.
>> >>>>>
>> >>>>> It seems to be available on PyPI
>> >>>>> https://pypi.org/project/faster-whisper/
>> >>>>>
>> >>>>>
>> >>>>> Python packages on PyPI can usually be installed with pip, so
>> >>>>> pip install faster-whisper
>> >>>>> should work, though may not integrate very well with your system.
>> >>>>>
>> >>>>> Generally, this is for discussing KDE applications, you may want t=
o
>> join
>> >>>>> channels for discussing Arch linux as well as to get specific
>> >>>>> installation advice.
>> >>>>> You might also want to examine Arch derivatives such as Manjaro:
>> >>>>> https://manjaro.org
>> >>>>> and Garuda:
>> >>>>> https://garudalinux.org/editions
>> >>>>>
>> >>>>> Is there a KDE application that will integrate with faster-whisper=
?
>> >>>>>
>> >>>>
>>
>

--00000000000008697206377abfae
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div>Sorry Bridger and Benson that I keep confusing you t=
wo =F0=9F=98=85</div><div dir=3D"auto"><br></div><div dir=3D"auto">But yes =
I&#39;ll help via separate email since I assume it will take many messages =
back &amp; forth before it&#39;s setup and those messages won&#39;t be rele=
vant to KDE.=C2=A0</div><div><br></div><div data-smartmail=3D"gmail_signatu=
re">Cheers,<br>Shervin.<br><br>=C2=A0=C2=A0=C2=A0 </div></div><br><div clas=
s=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_att=
r">On Sat, 14 June 2025, 7:09=E2=80=AFam Bridger Reed-Lewis, &lt;<a href=3D=
"mailto:[email protected]">[email protected]</a>&gt; wrot=
e:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0=
.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"l=
tr">Okay send the email to you shervin=C2=A0</div><br><div class=3D"gmail_q=
uote"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, Jun 13, 2025 at 9:31=E2=
=80=AFAM Benson Muite &lt;<a href=3D"mailto:[email protected]" tar=
get=3D"_blank" rel=3D"noreferrer">[email protected]</a>&gt; wrote:=
<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8=
ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Shervin,<br>
<br>
On Fri, Jun 13, 2025, at 3:25 PM, Shervin Emami wrote:<br>
&gt; Hi Benson,<br>
&gt;<br>
&gt; I&#39;ll help you install faster-whisper and also my script so it send=
s<br>
&gt; keyboard presses instead of displaying characters in a console. But it=
 will<br>
&gt; take many steps, so let&#39;s take the discussion elsewhere. Email me =
privately<br>
&gt; and we can discuss.<br>
&gt;<br>
<br>
Thanks. Do not need assistance, though Bridger may appreciate it.<br>
<br>
&gt; Cheers,<br>
&gt; Shervin.<br>
&gt;<br>
&gt;<br>
&gt; On Fri, 13 June 2025, 6:48=E2=80=AFpm Bridger Reed-Lewis, &lt;<br>
&gt; <a href=3D"mailto:[email protected]" target=3D"_blank" rel=3D=
"noreferrer">[email protected]</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; I am going to try the script again, and i will get back to everyon=
e with a<br>
&gt;&gt; update.<br>
&gt;&gt;<br>
&gt;&gt; On Fri, Jun 13, 2025 at 12:40=E2=80=AFAM Bridger Reed-Lewis &lt;<b=
r>
&gt;&gt; <a href=3D"mailto:[email protected]" target=3D"_blank" re=
l=3D"noreferrer">[email protected]</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; I got it installed now, i had to run the install in a virtual =
environment<br>
&gt;&gt;&gt; it&#39;s what chatgpt recommended.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Fri, Jun 13, 2025 at 12:36=E2=80=AFAM Bridger Reed-Lewis &l=
t;<br>
&gt;&gt;&gt; <a href=3D"mailto:[email protected]" target=3D"_blank=
" rel=3D"noreferrer">[email protected]</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I am running this on Arch, and i keep getting this error:<=
br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; *externally-managed-environment*<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; *=C3=97 This environment is externally managed=E2=95=B0=E2=
=94=80&gt; To install Python packages<br>
&gt;&gt;&gt;&gt; system-wide, try &#39;pacman -S=C2=A0 =C2=A0 python-xyz&#3=
9;, where xyz is the package you<br>
&gt;&gt;&gt;&gt; are trying to=C2=A0 =C2=A0 install.=C2=A0 =C2=A0 =C2=A0 =
=C2=A0 If you wish to install a non-Arch-packaged<br>
&gt;&gt;&gt;&gt; Python package,=C2=A0 =C2=A0 create a virtual environment =
using &#39;python -m venv<br>
&gt;&gt;&gt;&gt; path/to/venv&#39;.=C2=A0 =C2=A0 Then use path/to/venv/bin/=
python and<br>
&gt;&gt;&gt;&gt; path/to/venv/bin/pip.=C2=A0 =C2=A0 =C2=A0 =C2=A0 If you wi=
sh to install a non-Arch packaged<br>
&gt;&gt;&gt;&gt; Python application,=C2=A0 =C2=A0 it may be easiest to use =
&#39;pipx install xyz&#39;, which<br>
&gt;&gt;&gt;&gt; will manage a=C2=A0 =C2=A0 virtual environment for you. Ma=
ke sure you have<br>
&gt;&gt;&gt;&gt; python-pipx=C2=A0 =C2=A0 installed via pacman.note: If you=
 believe this is a mistake,<br>
&gt;&gt;&gt;&gt; please contact your Python installation or OS distribution=
 provider. You<br>
&gt;&gt;&gt;&gt; can override this, at the risk of breaking your Python ins=
tallation or OS,<br>
&gt;&gt;&gt;&gt; by passing --break-system-packages.*<br>
&gt;&gt;&gt;&gt; *hint: See PEP 668 for the detailed specification.*<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I ran the override, and it kept installing in a folder tha=
t didn&#39;t<br>
&gt;&gt;&gt;&gt; exist, even trying to open it in the terminal. Ended up un=
installing it,<br>
&gt;&gt;&gt;&gt; weirdly enough I tried to install it on an older laptop an=
d got as far as<br>
&gt;&gt;&gt;&gt; executing the python script they had us make, ran it and t=
he program<br>
&gt;&gt;&gt;&gt; froze.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On Fri, Jun 13, 2025 at 12:18=E2=80=AFAM Benson Muite &lt;=
<br>
&gt;&gt;&gt;&gt; <a href=3D"mailto:[email protected]" target=3D"_b=
lank" rel=3D"noreferrer">[email protected]</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; On Fri, Jun 13, 2025, at 10:34 AM, Bridger Reed-Lewis =
wrote:<br>
&gt;&gt;&gt;&gt;&gt; &gt; I am wondering if the community would help me ins=
tall faster-whisper,<br>
&gt;&gt;&gt;&gt;&gt; which<br>
&gt;&gt;&gt;&gt;&gt; &gt; will be the back end for the dictation tool I nee=
d. Shervin mentioned<br>
&gt;&gt;&gt;&gt;&gt; &gt; having custom code to make it similar to what Mac=
 OS offers for its<br>
&gt;&gt;&gt;&gt;&gt; users.<br>
&gt;&gt;&gt;&gt;&gt; &gt; My laptop came in way way earlier than I thought =
it would,=C2=A0 I&#39;m ready<br>
&gt;&gt;&gt;&gt;&gt; to<br>
&gt;&gt;&gt;&gt;&gt; &gt; jump all into the system.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; It seems to be available on PyPI<br>
&gt;&gt;&gt;&gt;&gt; <a href=3D"https://pypi.org/project/faster-whisper/" r=
el=3D"noreferrer noreferrer" target=3D"_blank">https://pypi.org/project/fas=
ter-whisper/</a><br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Python packages on PyPI can usually be installed with =
pip, so<br>
&gt;&gt;&gt;&gt;&gt; pip install faster-whisper<br>
&gt;&gt;&gt;&gt;&gt; should work, though may not integrate very well with y=
our system.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Generally, this is for discussing KDE applications, yo=
u may want to join<br>
&gt;&gt;&gt;&gt;&gt; channels for discussing Arch linux as well as to get s=
pecific<br>
&gt;&gt;&gt;&gt;&gt; installation advice.<br>
&gt;&gt;&gt;&gt;&gt; You might also want to examine Arch derivatives such a=
s Manjaro:<br>
&gt;&gt;&gt;&gt;&gt; <a href=3D"https://manjaro.org" rel=3D"noreferrer nore=
ferrer" target=3D"_blank">https://manjaro.org</a><br>
&gt;&gt;&gt;&gt;&gt; and Garuda:<br>
&gt;&gt;&gt;&gt;&gt; <a href=3D"https://garudalinux.org/editions" rel=3D"no=
referrer noreferrer" target=3D"_blank">https://garudalinux.org/editions</a>=
<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Is there a KDE application that will integrate with fa=
ster-whisper?<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
</blockquote></div>
</blockquote></div>

--00000000000008697206377abfae--