Thanks. I figured this out myself in the end. However as you point out it is a bad solution. To make the solution a little better I did a script to switch back and forth with “ln -s” /symbolic links pointing towards the conda env when doing Pytorch and pointing towards the old lib when doing other stuff. This prevents OS “meltdown” because of deprecated functions. And as a bonus, CentOS 8 is “soon” ready!