why you don't use some kind of environment, Conda or something like that?
I suspect success is highly variable on macOS vs. Linux; the spacey bug is only in newer (3.14 only or later) Pythons, which Linux will have.
I should learn to give up quicker.
I did eventually do that though, and I'm pretty sure I had to mess about with installing and uninstalling torch.
I dread using anything made in python because of this. It's always annoying and never just works (if the version of python is incompatible, otherwise it's fine) .
Even if you have to install using pip it just affect the active environment.
Maybe I'm only trying simple things.