I tried to install ZODB3 for 64 bit Python 2.7 with pip. This installation requires a local compiler to compile the BTrees extension. As I do not have the needed MS compiler installed:

  • Is there a binary 64 bit Windows installer for ZODB on Python 2.7 ? I used Google but did not succeed
  • Is BTrees really required or can I install ZODB3 without BTrees ?

Cherrs, Uwe.

有帮助吗?

解决方案

The ZODB3 package comes with pre-compiled eggs for Windows, see the PyPI page for ZODB3.

You need to tell pip explicitly that it needs to install an egg; it normally does not support installing from an egg:

pip install --egg ZODB3

Alternatively, you could use easy_install instead.

其他提示

Struggling with ZODB3 easy_install/pip/compiler woes on Windows? Try Christoph Gohlke's "Unofficial Windows Binaries for Python Extension Packages" download page:

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top