How can I fix pip install error: 'EnvironmentError: [Errno 42] Illegal byte sequence'?

Viewed 9459

I am trying to download kivy module using pip.

When I run the pip install command, I got an error: Could not install packages due to an EnvironmentError: [Errno 42] Illegal byte sequence.

I already re-installed python, I am running as an administrator and I also tried to download via the wheel file. All of the above causes the same environment error.

2 Answers
pip install kivy -q

(Not a solution, a workaround - This is a bug in displaying progress bar in pip. Above command hides the progress bar while installing)

Solution based on this.

Related