LXML无法在Plone 4.3 64位(MS Windows)上安装 [英] LXML failed to install on Plone 4.3 64-bit (MS Windows)

查看:61
本文介绍了LXML无法在Plone 4.3 64位(MS Windows)上安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人要求用正确的格式更新我的答案-先问问题,然后再回答.

Been asked to update my answer in correct format - Question then Answer.

running build_py
creating build
creating build\lib.win-amd64-2.7
creating build\lib.win-amd64-2.7\lxml
copying src\lxml\builder.py -> build\lib.win-amd64-2.7\lxml

然后生成

running build_ext
building 'lxml.etree' extension
**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

推荐答案

克隆›安装,设置,升级

Plone › Installation, Setup, Upgrades

如何使LXML与Plone 4.3 64位一起使用

How do I get LXML working with Plone 4.3 64-bit

构建失败,错误/正面指向并要求vcvarsall.bat

Buildout failed with false/positive pointing to and asking for vcvarsall.bat

非常感谢Didakus于2010年9月8日重新发布LDAP:

With thanks for original posting by Didakus - Sep 08, 2010 re: LDAP

在Plone聊天室中找到了一些帮助.这是我使LXML正常工作的方法.

Found some help in the Plone chat room. Here's what I did to get LXML working.

  1. 在驱动器C:\
  2. 上安装Python(v 2.7.4)
  3. 安装lxml-3.2.1.win-amd64-py2.7(C:\ Python27 \ lib \ site-packages)
  4. 使用安装程序(C:\ Plone43)安装/已安装Plone 4.3
  5. 编辑buildout.cfg并固定[ver] lxml = 3.2.1
  6. 在C:\ Plone43 \ eggs \
  7. 中创建一个名为lxml.3.2.1-py2.7.egg的新文件夹.
  8. 将C:\ Python27 \ lib \ site-packages \ lxml-3.2.1-py2.7.egg-info复制到C:\ Plone43 \ eggs \ lxml-3.2.1-py2.7.egg \并重命名到EGG-INFO
  9. 也将C:\ Python27 \ lib \ site-packages \中的lxml文件夹复制到C:\ Plone43 \ eggs \ lxml-3.2.1-py2.7.egg \
  10. 下一个副本: 文件夹:C:\ Python27 \ lib \ site-packages \ lxml-3.2.1-py2.7.egg-info 文件夹:C:\ Python27 \ lib \ site-packages \ lxml 到C:\ Plone43 \ python \ Lib \ site-packages
  11. 启动命令箱并运行bin \ buildout
  1. Install Python (v 2.7.4) on drive C:\
  2. Install lxml-3.2.1.win-amd64-py2.7 (C:\Python27\lib\site-packages)
  3. Install/Have Installed Plone 4.3 with the installer (C:\Plone43)
  4. Edit buildout.cfg and pin [ver] lxml = 3.2.1
  5. Create a new folder called lxml.3.2.1-py2.7.egg in C:\Plone43\eggs\
  6. Copy C:\Python27\lib\site-packages\lxml-3.2.1-py2.7.egg-info to C:\Plone43\eggs\lxml-3.2.1-py2.7.egg\ and rename to EGG-INFO
  7. Also copy the lxml folder in C:\Python27\lib\site-packages\ to C:\Plone43\eggs\lxml-3.2.1-py2.7.egg\
  8. Next copy: folder: C:\Python27\lib\site-packages\lxml-3.2.1-py2.7.egg-info folder: C:\Python27\lib\site-packages\lxml to C:\Plone43\python\Lib\site-packages
  9. Start commandbox and run bin\buildout

它为我编译.

这篇关于LXML无法在Plone 4.3 64位(MS Windows)上安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆