5

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

1
  • I'm seeing this in a library using python Requests. The 0x8b comes from the gzip header: 1F 8B 08. Something is missing the fact that this is gzip-compressed data. Commented Apr 23, 2015 at 15:49

1 Answer 1

4

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 
Sign up to request clarification or add additional context in comments.

1 Comment

The installation method used is the same as mentioned in "stackoverflow.com/questions/7322334/…" and I succeeded in installing it before but now it is not working. One thing that I should have mentioned earlier is I am using anaconda ver 2.1.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.