简体   繁体   English

ZODB 3用于64位窗口

[英]ZODB 3 for 64 bit windows

I tried to install ZODB3 for 64 bit Python 2.7 with pip. 我尝试用pip为64位Python 2.7安装ZODB3。 This installation requires a local compiler to compile the BTrees extension. 此安装需要本地编译器来编译BTrees扩展。 As I do not have the needed MS compiler installed: 因为我没有安装所需的MS编译器:

  • Is there a binary 64 bit Windows installer for ZODB on Python 2.7 ? 在Python 2.7上是否有针对ZODB的二进制64位Windows安装程序? I used Google but did not succeed 我使用谷歌但没有成功
  • Is BTrees really required or can I install ZODB3 without BTrees ? 是否真的需要BTrees,还是可以在没有BTrees的情况下安装ZODB3?

Cherrs, Uwe. Urs,Cherrs。

The ZODB3 package comes with pre-compiled eggs for Windows, see the PyPI page for ZODB3 . ZODB3软件包附带适用于Windows的预编译鸡蛋,请参阅ZODB3PyPI页面

You need to tell pip explicitly that it needs to install an egg; 你需要明确地告诉pip它需要安装一个鸡蛋; it normally does not support installing from an egg: 它通常不支持从鸡蛋安装:

pip install --egg ZODB3

Alternatively, you could use easy_install instead. 或者,您可以使用easy_install

Struggling with ZODB3 easy_install/pip/compiler woes on Windows? 在Windows上挣扎着ZODB3 easy_install / pip /编译器的困境? Try Christoph Gohlke's "Unofficial Windows Binaries for Python Extension Packages" download page: 试试Christoph Gohlke的“用于Python扩展包的非官方Windows二进制文件”下载页面:

  • 64 and 32 bit ZODB3 binaries packaged as .exe installers are available for python 2.5/2.6/2.7: http://www.lfd.uci.edu/~gohlke/pythonlibs/#zodb3 打包为.exe安装程序的64位和32位ZODB3二进制文件可用于python 2.5 / 2.6 / 2.7: http ://www.lfd.uci.edu/~gohlke/pythonlibs/#zodb3

  • You will need to run the appropriate zope.interface installer from the same source first: http://www.lfd.uci.edu/~gohlke/pythonlibs/#Zope.interface 您需要首先从同一个源运行相应的zope.interface安装程序: http ://www.lfd.uci.edu/~gohlke/pythonlibs/#Zope.interface

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

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