I've figured it out, I needed to remove tcl_library and tk_library from the environment variables.
Although before putting them pylab fired an error saying something like it couldn't find some tcl files, and putting them solved that error but fired this one.