Your matrix X is not symmetric.
This is not the problem. (Even if that were the problem, it wouldn't cause a hang -- docs say "no error will be reported but results will be wrong".)
In fact, the same hang happens on the installation which originally had this problem if you replace X with X = np.dot(X, X.T) so that the matrix is symmetric.