pythoniesta
pythoniesta

Reputation: 317

UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1

I am trying to install python packages from github. Whenever I try to install any package I get error "UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte". I have tried looking for answers to similar problems but no luck. I will be grateful for any help regarding this issue. Error screenshot link - https://www.dropbox.com/s/nc2i5cpi5wcyr3q/error%20install.png?dl=0

Upvotes: 5

Views: 6985

Answers (1)

Simeon Visser
Simeon Visser

Reputation: 122376

You can't install a package by using:

pip install https://github.com/Theano/Theano

Instead you should use:

pip install git+git://github.com/Theano/Theano.git

if you want to install from Github. If you want to install the package from PyPI you should use:

pip install Theano

Upvotes: 4

Related Questions