quantopian / zipline

Zipline, a Pythonic Algorithmic Trading Library
https://www.zipline.io
Apache License 2.0
17.52k stars 4.71k forks source link

Installation issue on fresh install: UnsatisfiableError #2492

Open pepicello opened 5 years ago

pepicello commented 5 years ago

Dear Zipline Maintainers,

Before I tell you about my issue, let me describe my environment:

Environment

* Operating System: Windows 7 64bit * Python Version: 3.5.6 * Python Bitness: 64 * How did you install Zipline: conda * Python packages: Name Version Build Channel certifi 2018.8.24 py35_1 pip 10.0.1 py35_0 python 3.5.6 he025d50_0 setuptools 40.2.0 py35_0 vc 14.1 h0510ff6_4 vs2015_runtime 14.15.26706 h3a45250_4 wheel 0.31.1 py35_0 wincertstore 0.2 py35hfebbdb8_0

Now that you know a little about me, let me tell you about the issue I am having:

Description of Issue

Zipline raises this error, when installed via conda:

Collecting package metadata (current_repodata.json): done
Solving environment: failed
Collecting package metadata (repodata.json): done
Solving environment: failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:

  - certifi
  - pkgs/main/win-64::pip==10.0.1=py35_0
  - pkgs/main/win-64::python==3.5.6=he025d50_0
  - pkgs/main/win-64::setuptools==40.2.0=py35_0
  - pkgs/main/win-64::vc==14.1=h0510ff6_4
  - pkgs/main/win-64::vs2015_runtime==14.15.26706=h3a45250_4
  - pkgs/main/win-64::wheel==0.31.1=py35_0
  - pkgs/main/win-64::wincertstore==0.2=py35hfebbdb8_0
  - zipline

Please note that this incompatibility supposedly is on all the packages in the environment, which otherwise seems to work fine. In fact, the environment was just created, with the latest version of anaconda installed.

Here is how you can reproduce this issue on your machine:

Reproduction Steps

  1. conda create -n env_zipline python=3.5
  2. activate env_zipline
  3. conda install -c Quantopian zipline

What steps have you taken to resolve this already?

Tried to update all packages:

conda update --all

And update conda in the base environment:

conda update conda
conda update anaconda-navigator
conda update navigator-updater

Anything else?

conda version : 4.7.5
conda-build version : 3.18.5

Sincerely, Giulio

6ixNugget commented 5 years ago

Same problem on linux-64 platform

UnsatisfiableError: The following specifications were found to be incompatible with each other:

nickpellant commented 5 years ago

Same issue here on macOS 🙋‍♂.

UnsatisfiableError: The following specifications were found to be incompatible with each other:

  - ca-certificates
  - certifi
  - openssl
  - pkgs/main/osx-64::libcxx==4.0.1=hcfea43d_1
  - pkgs/main/osx-64::libcxxabi==4.0.1=hcfea43d_1
  - pkgs/main/osx-64::libedit==3.1.20181209=hb402a30_0
  - pkgs/main/osx-64::libffi==3.2.1=h475c297_4
  - pkgs/main/osx-64::ncurses==6.1=h0a44026_1
  - pkgs/main/osx-64::python==3.5.6=hc167b69_0
  - pkgs/main/osx-64::readline==7.0=h1de35cc_5
  - pkgs/main/osx-64::setuptools==40.2.0=py35_0
  - pkgs/main/osx-64::sqlite==3.28.0=ha441bb4_0
  - pkgs/main/osx-64::tk==8.6.8=ha441bb4_0
  - pkgs/main/osx-64::wheel==0.31.1=py35_0
  - pkgs/main/osx-64::xz==5.2.4=h1de35cc_4
  - pkgs/main/osx-64::zlib==1.2.11=h1de35cc_3
  - zipline
steviesteveston commented 5 years ago

Same here, Windows 10, conda, Py 3.5.6

UnsatisfiableError: The following specifications were found to be incompatible with each other:

EDIT: I was able to get it working in a Python 2.7.16 environment, but I thought zipline worked in python 3.5?

rjeroense commented 5 years ago

Still no solution, I have still exactly the same "UnsatisfiableError: The following specifications were found to be incompatible with each other" error as above, and can't continue working with this great backtesting engine. Thanks for any response.

leosmigel commented 5 years ago

This is a problem with the latest version of Conda. Please see the following for a resolution: https://github.com/quantopian/zipline/issues/2514