本文介绍了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
推荐答案
http://plone.293351.n2.nabble.com/How-do-I-get-LDAP-working-with-Plone-4-td5510664.html
克隆›安装,设置,升级
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.
- 在驱动器C:\ 上安装Python(v 2.7.4)
- 安装lxml-3.2.1.win-amd64-py2.7(C:\ Python27 \ lib \ site-packages)
- 使用安装程序(C:\ Plone43)安装/已安装Plone 4.3
- 编辑buildout.cfg并固定[ver] lxml = 3.2.1
- 在C:\ Plone43 \ eggs \ 中创建一个名为lxml.3.2.1-py2.7.egg的新文件夹.
- 将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
- 也将C:\ Python27 \ lib \ site-packages \中的lxml文件夹复制到C:\ Plone43 \ eggs \ lxml-3.2.1-py2.7.egg \
- 下一个副本:文件夹: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
- 启动命令箱并运行bin \ buildout
- Install Python (v 2.7.4) on drive C:\
- Install lxml-3.2.1.win-amd64-py2.7 (C:\Python27\lib\site-packages)
- Install/Have Installed Plone 4.3 with the installer (C:\Plone43)
- Edit buildout.cfg and pin [ver] lxml = 3.2.1
- Create a new folder called lxml.3.2.1-py2.7.egg in C:\Plone43\eggs\
- 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
- Also copy the lxml folder in C:\Python27\lib\site-packages\ to C:\Plone43\eggs\lxml-3.2.1-py2.7.egg\
- Next copy:folder: C:\Python27\lib\site-packages\lxml-3.2.1-py2.7.egg-infofolder: C:\Python27\lib\site-packages\lxmlto C:\Plone43\python\Lib\site-packages
- Start commandbox and run bin\buildout
它为我编译.
这篇关于LXML无法在Plone 4.3 64位(MS Windows)上安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!