我正在尝试安装plone.app.multilingual,据我所知,安装顺利,但附加组件不会出现在我网站的附加组件列表中。
CMD:
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
感谢所有帮助!我已经坚持了一段时间了,我认为这是最后的手段......
答案 0 :(得分:1)
正如Martijn Pieters指出的那样,问题是lxml无法正确安装。他发布了一个解释如何解决问题的问题的链接: