Starting tensorflow could not have done anything, I think. If you restart machine and if the pytorch env works then it might have been due to tensorflow. Also, try upgrading to latest pytorch version, maybe it was a bug that was fixed.