zipline icon indicating copy to clipboard operation
zipline copied to clipboard

conflict between 32-bit python 3.5 and zipline

Open lxlarcher opened this issue 9 years ago • 12 comments

Dear Zipline Maintainers, when i try to download the zipline by conda, it shows the zipline work under python2.7 version, so how it work under python 3.5 version?

Sincerely, Archer Liu

lxlarcher avatar Jul 29 '17 02:07 lxlarcher

Hi Archer. Is your question more about how a python package can work in both Python 2 and 3? Or more about how to install zipline specifically for Python 3.5?

Based off the title of your issue it sounded like you have trouble getting zipline to work with Python 3.5, so just wanted to get some clarification first :)

freddiev4 avatar Jul 29 '17 04:07 freddiev4

The issue is that we have not published conda packages for python 3.5 so conda cannot resolve zipline. Right now you can install zipline in a Python 3.4 conda environment if you need Python 3.

llllllllll avatar Jul 29 '17 06:07 llllllllll

all right, thank u so much, maybe I will wait for the conda packages for python 3.5.

发自网易邮箱大师 在2017年07月29日 14:51,Joe Jevnik 写道:

The issue is that we have not published conda packages for python 3.5 so conda cannot resolve zipline. Right now you can install zipline in a Python 3.4 conda environment if you need Python 3.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

lxlarcher avatar Jul 29 '17 07:07 lxlarcher

Hi Freddie, I mean I had trouble getting zip line to work with python3.5. Now, I figure out zipline only work for python2.x or python3.4. Thanks .

发自网易邮箱大师 在2017年07月29日 12:46,Freddie Vargus 写道:

Hi Archer. Is your question more about how a python package can be used in both Python 2 and 3?

Based off the title of your issue it sounded like you have trouble getting zipline to work with Python 3.5, so just wanted to get some clarification first :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

lxlarcher avatar Jul 29 '17 10:07 lxlarcher

Hi @lxlarcher you can also run pip install zipline without conda and it should still work with Python 3.5

freddiev4 avatar Jul 29 '17 18:07 freddiev4

Wonderful ,thank you so much.

发自网易邮箱大师 在2017年07月30日 02:00,Freddie Vargus 写道:

Hi @lxlarcher you can also run pip install zipline without conda and it should still work with Python 3.5

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

lxlarcher avatar Jul 30 '17 01:07 lxlarcher

@FreddieV4 @llllllllll Am not able to install zipline on python 3.5 the error is:

error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools


Failed building wheel for cyordereddict Failed building wheel for bcolz Failed building wheel for lru-dict And i have already installed visual studio 14.10 build tools (in control panel it shows, Microsoft Visual Studio 2017) before installing zipline, any guesses why its unable to work?

RJUNS avatar Jul 30 '17 18:07 RJUNS

Hi @RJUNS if you're trying to run pip install zipline for Windows, then I'm not entirely sure right now how to deal with that particular issue. I'll look more into it.

We do currently have zipline 1.1.1 conda packages for Python 3.5 on Windows, so you can install using conda.

There's more information in the Install Guide as well.

freddiev4 avatar Jul 30 '17 20:07 freddiev4

Hey @FreddieV4 , i tried installing using conda, but i got the following error: D:\Folders\ArJuN>activate py35

(py35) D:\Folders\ArJuN>conda install zipline Fetching package metadata .............

PackageNotFoundError: Package missing in current win-32 channels:

  • zipline

(py35) D:\Folders\ArJuN>conda install -c Quantopian zipline Fetching package metadata ............... Solving package specifications: .

UnsatisfiableError: The following specifications were found to be in conflict:

  • python 3.5*
  • zipline -> logbook -> python 2.7* Use "conda info " to see the dependencies for each package.

And i tried installing zipline through local path by downloading zipline from github , but it throws error while installing as described in my previous comment.

Am using virtual env, and am on windows 7 32 bit machine, is it compatible with 32 bit machine? however i was able to run zipline when i had python 3.4. but facing problem with python 3.5.

RJUNS avatar Jul 31 '17 06:07 RJUNS

@RJUNS We don't have builds/support for Windows-32 bit so your best bet is to install on a 64-bit machine I believe.

If your hardware supports 64-bit then you could run a 64-bit VM I think too

freddiev4 avatar Jul 31 '17 14:07 freddiev4

Oh, then i will better stick with python 3.4, as it supports my 32-bit somehow, thanks for help anyways @FreddieV4 :)

RJUNS avatar Jul 31 '17 14:07 RJUNS

Hi @RJUNS I'm going to go ahead and close this issue. Feel free to re-open it if you have other issues with this

freddiev4 avatar Aug 08 '17 15:08 freddiev4