本文介绍了在 Windows 7 32 位上使用 Python 3.3 的 LXML 3.3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在安装时遇到了重大问题.请提供详细的分步指南.
I am having major issues with this install. Please provide a detailed, step-by-step guide.
推荐答案
这些说明适用于使用 Python3.3 的 Windows7 或 Windows8.
但是,它们应该适用于各种版本,因为 Python 的发行版和其他相应的先决条件发生了变化/发展:
However, they should work for various versions as the releases of python and other respective prerequisites change/evolve:
- 安装Python3.3:
C:python33
和 C:python33scripts
文件夹添加到系统路径,方法是将这些目录添加到 PATH
控制面板 > 系统 > 高级系统设置链接(高级选项卡)> 环境变量(按钮).C:python33
and C:python33scripts
folders to the system path by adding those directories to the PATH
environment variable from the Control Panel > System > Advanced System Settings link (Advanced Tab) > Environmental Variables (Button).- 从此处下载适用于您的 Windows 版本的 Win32 OpenSSL 页面和PC架构
- 为您的 Windows 和 PC 架构版本下载 Visual C++ 2008 可再发行组件
- 为您的 Windows 版本和架构下载 OpenSSL(常规版本,不是轻量版本)
- 将
c:openssl-win32in
(或类似的)目录添加到您的PATH
,与添加C:python33
的方式相同code> 和C:python33scripts
以上.
- Download Win32 OpenSSL page from HERE for your version of Windows and PC architecture
- Download Visual C++ 2008 redistributables for your version of Windows and PC architecture
- Download OpenSSL for your version of Windows and architecture (the regular version, not the light one)
- Add the
c:openssl-win32in
(or similar) directory to yourPATH
, the same way you addedC:python33
andC:python33scripts
above.
get-pip.py
应该为您安装 Setuptools),但是,以防万一……get-pip.py
should install Setuptools for you), but, just in case...- 下载
ez_setup.py
这里并将其保存在C:python33scripts
- 运行
C:python33scripts>python ez_setup.py
- 从 get-pip.py">HERE 并将其保存在
C:python33scripts
- 运行
C:python33scripts>python get-pip.py
- 从这里下载
LXML 3.3.3
适用于您的 Windows 版本和 PC 架构 - 运行EXE文件
- Download
LXML 3.3.3
from HERE for your version of Windows and PC architecture - Run the EXE file
这篇关于在 Windows 7 32 位上使用 Python 3.3 的 LXML 3.3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!