Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

python

utf-8

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

like image 671
pythoniesta Avatar asked Sep 28 '22 18:09

pythoniesta


1 Answers

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
like image 111
Simeon Visser Avatar answered Oct 05 '22 06:10

Simeon Visser