2

我正在尝试安装 plone.app.multilingual 并且据我所知安装进展顺利,但插件不会出现在我网站的插件列表中。

命令:

C:\Plone43>bin\buildout.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>bin\instance.exe stop
Stopping Windows Service "Zope1810026918".

C:\Plone43>bin\instance.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

感谢所有帮助!我已经坚持了一段时间了,我认为这是最后的手段......

4

1 回答 1

1

正如 Martijn Pieters 指出的那样,问题是 lxml 安装不正确。他发布了一个问题的链接,该问题解释了如何解决该问题:

LXML 无法在 Plone 4.3 64 位 (MS Windows) 上安装

于 2013-06-27T09:40:24.083 回答