The environment was completely fucked up, since I copied it from another directory. Redid it.