简体   繁体   English

Windows 10上的pip install zipline失败

[英]pip install zipline fails on Windows 10

I can't install zipline on Windows 10 with Python 3.6 . 我无法在使用Python 3.6 Windows 10上安装zipline I tried it with Pycharm and the terminal , both fail with this error message: 我用Pycharmterminal尝试过,都失败,并显示以下错误消息:

Command "python setup.py egg_info" failed with error code 1 in C:...\\AppData\\Local\\Temp\\pip-build-x6gaykzm\\zipline\\

I have also tried pip3 install --upgrade setuptools , pip install ez_setup and pip install ez_setup like suggested here and here 我也尝试过pip3 install --upgrade setuptoolspip install ez_setuppip install ez_setup就像这里这里建议的那样

I have also installed numpy 1.13.0 + mkl 我还安装了numpy 1.13.0 + mkl

Can anybody help on this topic? 有人可以帮忙吗? Many thanks in advance! 提前谢谢了!

Good to know that you figured out the cause. 很高兴您知道原因所在。

The reason for your problem was that the zipline doesn't support python 3.5 or above for now, but it does support python 3.4. 您出现问题的原因是该zipline目前不支持python 3.5或更高版本,但它确实支持python 3.4。 and python 3.4 makes use of Microsoft Visual C++ 2010 Express( http://microsoft-visual-cpp-express.soft32.com/ ) and this is what python 3.4 is compatible with. python 3.4使用Microsoft Visual C ++ 2010 Express( http://microsoft-visual-cpp-express.soft32.com/ ),而这正是python 3.4兼容的。

So it makes the zipline users a must have package in order to use zipline. 因此,它使zipline用户必须拥有软件包才能使用zipline。

After installing Visual Studio C++ Build Tools and restarting the computer I could install zipline. 安装Visual Studio C ++ Build Tools并重新启动计算机后,我可以安装zipline。 I don't know which of the facts causes it. 我不知道是哪个事实造成的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM