As in my reply to smth, I reconfigured a new conda environment, and now the problem is occurring much more rarely, thought still occurring sometimes. It’s an ugly fix and I don’t know why it worked, but that’s about what I can think of doing right now.