conda install help on Windows

1,145 views
Skip to first unread message

M Han

unread,
Mar 27, 2016, 12:05:21 AM3/27/16
to Zipline Python Opensource Backtester

Hi, 


I have a 64-bit Windows 8.1 with conda ver 4.0.5., and I am trying to install zipline via Anaconda3 on Windows. When I use the lines 


conda install -c Quantopian zipline

or

conda install --channel https://conda.anaconda.org/Quantopian zipline


I get the following error

Fetching package metadata... Solving package specification..
Error: package missing in current win-64 channels:
-zipline


However, if I run the search command 

anaconda search -t conda zipline
 

I can see that Quantopian/zipline has a win-64 compatible package.

Is there something I'm doing wrong? Is there an alternative way to install? I am trying to install zipline to work with PyCharm.



Rich Frank

unread,
Mar 27, 2016, 11:39:56 AM3/27/16
to Zipline Python Opensource Backtester
Hi,

In the past month, we've started automated builds of our zipline conda packages, which are uploaded to Quantopian's continuous integration ("ci") channel on anaconda.  These are actually the first win-64 zipline packages to be available on anaconda.  Since we haven't moved any to the "main" channel yet (we will in our soon-to-come next release), you can only install them by explicitly specifying that you want to use our "ci" channel.  Unfortunately, it seems that the anaconda-client doesn't tell you this (feel free to file an issue with them or submit a fix!).

If you want to use these pre-release packages, you need to add the "ci" channel to your install command:
--channel https://conda.anaconda.org/quantopian/label/ci

We'll post again to the google group when we release packages to the main channel!

Best,
Rich

M Han

unread,
Mar 28, 2016, 5:04:16 AM3/28/16
to Zipline Python Opensource Backtester
Hi, 

Just to give some feedback, I tried running the following:
conda install --channel https://conda.anaconda.org/Quantopian/label/ci zipline
and I get the following missing dependencies:
- zipline -> bcolz >=0.12.1
- zipline -> logbook >=0.12.5
- zipline -> cyordereddict >=0.2.2

I could install "bcolz" from the Quantopian channel using 
conda install -c Quantopian bcolz
but the version installed is 0.11.4. It was the same from the "ci" directory. 

I tried installing "logbook" from the Quantopian channel, and I get a massive list of "The following specifications were found to be in conflict:" that was larger than my buffer. Same goes with "cyorderedict". Neither packages were found in the "ci" directory. 

Would it work better if I install a 32bit version of Anaconda3?

Or maybe I'll just have to suck it up and buy a Mac haha. 

Richard Frank

unread,
Mar 28, 2016, 7:36:53 AM3/28/16
to M Han, Zipline Python Opensource Backtester
The "ci" packages depend on packages in our "main" channel, so if you want to install them all at once, you need to include both channels in your command:

conda install -c Quantopian -c https://conda.anaconda.org/Quantopian/label/ci zipline

I believe an earlier win-32 version of zipline is still available on anaconda.  It requires older versions of numpy/pandas/scipy, if that doesn't pose a problem for you.

--
You received this message because you are subscribed to the Google Groups "Zipline Python Opensource Backtester" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zipline+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

M Han

unread,
Mar 28, 2016, 8:52:58 AM3/28/16
to Zipline Python Opensource Backtester, ichi...@gmail.com
I was having trouble with the above command, where it would generate a huge list of dependency conflicts, essentially with every package that I had installed, so I did a fresh install of Anaconda 3 and tried again, and got the below results:

Using Anaconda Cloud api site https://api.anaconda.org
Fetching package metadata: ........
Solving package specifications: ...................................
Error: Unsatisfiable package specifications.
Generating hint:
[      COMPLETE      ]|##################################################| 100%

Hint: the following packages conflict with each other:
  - zipline
  - python 3.5*
Use 'conda info zipline' etc. to see the dependencies for each package.
Note that the following features are enabled:
  - vc14

Richard Frank

unread,
Mar 28, 2016, 9:39:51 AM3/28/16
to M Han, Zipline Python Opensource Backtester
Sorry for the trouble.  That looks right - we haven't yet worked on python 3.5 support, so we haven't built any python 3.5 conda packages for zipline.  There is an open issue for python 3.5 support, if you'd like to bump it.  In the meantime, you'll need to install zipline in a python 2.7 or 3.4 environment.  For instance:

conda create -n python34env python=3.4 zipline -c quantopian -c https://conda.anaconda.org/quantopian/label/ci
Reply all
Reply to author
Forward
0 new messages