@EthanZhangYi glad you solved it!
You should also consider looking into Docker.  It is the best thing ever for keeping different libraries and programs running in their own separate containers, with just a 0.1% performance penalty.