ZODB 3 for 64 bit windows
-
06-07-2021 - |
문제
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:
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
You will need to run the appropriate zope.interface installer from the same source first: http://www.lfd.uci.edu/~gohlke/pythonlibs/#Zope.interface