I had the same problem.
The reason was non latin characters in an environment variables entry.
In my case it was cyrilic name of some folder, while my windows was originally english version.
So it had a conflict. After removing it - everything worked ok.