Can we install zipline thru pip

I want to test zipline's API and wanted to do in my pythin editor, because the Monaco web editor in blueshift does not work properly. I tried pip install zipline, but got below error. Any suggestion?

ERROR: Command errored out with exit status 1:

   command: /opt/anaconda3/bin/python /opt/anaconda3/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /private/var/folders/vh/dt84tww93l1dnd49j5xqb44nf1q90l/T/pip-build-env-wn0edimg/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- wheel setuptools Cython 'numpy==1.9.3; python_version=='"'"'3.5'"'"'' 'numpy==1.12.1; python_version=='"'"'3.6'"'"'' 'numpy==1.13.1; python_version>='"'"'3.7'"'"''

       cwd: None

  Complete output (14 lines):

  Traceback (most recent call last):

    File "/opt/anaconda3/lib/python3.7/runpy.py", line 193, in _run_module_as_main

      "__main__", mod_spec)

    File "/opt/anaconda3/lib/python3.7/runpy.py", line 85, in _run_code

      exec(code, run_globals)

    File "/opt/anaconda3/lib/python3.7/site-packages/pip/__main__.py", line 16, in <module>

      from pip._internal.cli.main import main as _main  # isort:skip # noqa

    File "/opt/anaconda3/lib/python3.7/site-packages/pip/_internal/cli/main.py", line 5, in <module>

      import locale

    File "/opt/anaconda3/lib/python3.7/locale.py", line 16, in <module>

      import re

    File "/opt/anaconda3/lib/python3.7/re.py", line 143, in <module>

      class RegexFlag(enum.IntFlag):

  AttributeError: module 'enum' has no attribute 'IntFlag'

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

ERROR: Command errored out with exit status 1: /opt/anaconda3/bin/python /opt/anaconda3/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /private/var/folders/vh/dt84tww93l1dnd49j5xqb44nf1q90l/T/pip-build-env-wn0edimg/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- wheel setuptools Cython 'numpy==1.9.3; python_version=='"'"'3.5'"'"'' 'numpy==1.12.1; python_version=='"'"'3.6'"'"'' 'numpy==1.13.1; python_version>='"'"'3.7'"'"'' Check the logs for full command output.

Hi Tanmay,



pip install should work for zipline.



Could you please try the following?

  1. run the command :
pip3 uninstall -y enum34 
or
pip uninstall -y enum34

depending on your environment.

Once done, please retry installing pipeline.

Hope this helps!

If not, please post the pip list contents for your local system.

Thanks Gaurav for quick response. I tried the steps you mentioned. It is still not working.

 

Error :
Command "/usr/local/opt/python/bin/python3.7 -m pip install --ignore-installed --no-user --prefix /private/var/folders/vh/dt84tww93l1dnd49j5xqb44nf1q90l/T/pip-build-env-uhcagh8a --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- wheel setuptools Cython "numpy==1.9.3; python_version=='3.5'" "numpy==1.12.1; python_version=='3.6'" "numpy==1.13.1; python_version>='3.7'"" failed with error code 1 in None

(base) m-C02W90SLHTD5:ndof-da-fulfillment-manager-dynamic-door t0r00ap$ pip3 list

Package          Version  

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

alice-blue       1.0.0    

beautifulsoup4   4.9.3    

bs4              0.0.1    

certifi          2020.6.20

chardet          3.0.4    

fyers-api        1.0.9    

idna             2.10     

nose             1.3.7    

numpy            1.19.2   

pandas           1.1.3    

pip              18.0     

protlib          1.4      

python-dateutil  2.8.1    

pytz             2020.1   

requests         2.24.0   

scipy            1.5.2    

selenium         3.141.0  

setuptools       40.0.0   

six              1.15.0   

soupsieve        2.0.1    

tornado          6.0.4    

urllib3          1.25.10  

websocket-client 0.57.0   

wheel            0.31.1   

Hi Tanmay,

We are working on this and will get back to you shortly.

Thanks!