Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
installing zipline error

Hello,

I tried to install zipline,

use this method:

$ pip install numpy
$ pip install cython
$ pip install git+https://github.com/quantopian/zipline.git

And then I got this error:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 72: ordinal not in range(128)

Could anyone help me?

I am using ubuntu 14.04 and python 2.7.6.

3 responses

Try to use pip install zipline instead of pip install git+https://github.com/quantopian/zipline.git
This is the way it's recommended here: http://www.zipline.io/install.html

Thanks so much for your reply.

Actually I also tried to install using

pip install zipline  

But it gives me this error:

Complete output from command python setup.py egg_info:  
Traceback (most recent call last):  
  File "<string>", line 1, in <module>  
  File "/private/var/folders/gn/vl4x_k2128g1bb7tvclq_b780000gn/T/pip-build-0y1dyE/zipline/setup.py", line 255, in <module>  
    packages=find_packages('.', include=['zipline', 'zipline.*']),  
TypeError: find_packages() got an unexpected keyword argument 'include'

----------------------------------------  

Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/gn/vl4x_k2128g1bb7tvclq_b780000gn/T/pip-build-0y1dyE/zipline/

Could you please tell me how I can solve this?