문제

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