venv/bin/activate (line 40): “case” builtin not inside of switch block
when starting up, i get that issue. Im running arch linux, with fish as my shell.
Shouldnt be importent at this stage, but im using amd, and a intel cpu. 6700xt and 13700k.
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.fishWe 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!
Thanks a lot, I thought I was using zsh but it may be false. Thanks again!
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.