Chatterbox-TTS-Server icon indicating copy to clipboard operation
Chatterbox-TTS-Server copied to clipboard

venv/bin/activate (line 40): “case” builtin not inside of switch block

Open DeRp-MaSte5 opened this issue 1 year ago • 3 comments

when starting up, i get that issue. Im running arch linux, with fish as my shell.

Image

Shouldnt be importent at this stage, but im using amd, and a intel cpu. 6700xt and 13700k.

DeRp-MaSte5 avatar Aug 24 '25 05:08 DeRp-MaSte5

Hey @DeRp-MaSte5 I am not sure if you ever found the solution to this problem... but if you did then you can ignore my answer. I randomly landed on this issue whilst I was searching for the same error message but I found the solution to this problem because I scratched my head for a second time since the interwebs wasn't helping me.

I swapped from distro (from Debian to CachyOS) and I ran into the same problem like you did.

You and I wanted to initiate the venv with the 'normal' activate command but since we are using FISH instead of ZSH it won't run and it will throw an 'uname' error.

What we need to do when working in a FISH terminal is as follows:

  • source venv/bin/activate.fish We need to specify that we want it to run and activate the .fish type of venv.

I hope that this helped you and if you already knew the answer to the question then that is also fine :)

Have a nice day and happy coding!

REALSDEALS avatar Nov 26 '25 22:11 REALSDEALS

Thanks a lot, I thought I was using zsh but it may be false. Thanks again!

DasherWho avatar Apr 04 '26 11:04 DasherWho

Closing, sounds like this resolved once the shell question was cleared up (the activation script is bash/zsh, not fish). Thank you @DasherWho for following up. Please reopen if it comes back.

devnen avatar May 26 '26 20:05 devnen