我正在尝试安装plone.app.多语言,据我所见,安装进展顺利,但该插件不会出现在我网站的"插件"列表中。
cmd:
C:Plone43>binbuildout.exe
Getting distribution for 'lxml==2.3.6'.
Building lxml version 2.3.6.
Building without Cython.
ERROR: 'xslt-config' is not recognized as an internal or external command,
operable program or batch file.
** make sure the development packages of libxml2 and libxslt are installed **
Using build configuration of libxslt
error: Setup script exited with error: Unable to find vcvarsall.bat
An error occurred when trying to install lxml 2.3.6. Look above this message for
any errors that were output by easy_install.
While:
Installing.
Getting section zeo.
Initializing part zeo.
Getting distribution for 'lxml==2.3.6'.
Error: Couldn't install: lxml 2.3.6
*************** PICKED VERSIONS ****************
[versions]
archetypes.multilingual = 1.1
plone.app.multilingual = 1.1
plone.multilingual = 1.1
plone.multilingualbehavior = 1.1
*************** /PICKED VERSIONS ***************
C:Plone43>bininstance.exe stop
Stopping Windows Service "Zope1810026918".
C:Plone43>bininstance.exe start
Starting Windows Service "Zope1810026918".
lxml安装失败,是否有可能是原因?
我在buildout.cfg上尝试了几个不同的配置,这是我最近的一个(只涉及鸡蛋的部分):
[buildout]
...
eggs =
Pillow
Plone
plone.app.iterate
plone.app.openid
Products.CMFPlacefulWorkflow
plone.app.multilingual [archetypes]
plone.app.multilingual [dexterity]
zcml =
plone.app.multilingual
感谢所有的帮助!我已经被这件事困扰了一段时间,我认为这是最后的手段。。。
正如Martijn Pieters所指出的,问题是lxml安装不正确。他发布了一个问题的链接,解释了如何解决这个问题:
LXML无法在Plone 4.3 64位(MS Windows)上安装