在 Windows 7 32 位上使用 Python 3.3 的 LXML 3.3 [英] LXML 3.3 with Python 3.3 on windows 7 32-bit

查看:38
本文介绍了在 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:

  1. 安装Python3.3:
  1. 从下载页面下载 Python3.3 的最新版本(当前为 3.3.5)这里
    • Win32 MSI 安装程序的直接链接 -> 这里

  • C:python33C:python33scripts 文件夹添加到系统路径,方法是将这些目录添加到 PATH控制面板 > 系统 > 高级系统设置链接(高级选项卡)> 环境变量(按钮).
  • 安装OpenSSL:

  • Add the 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).
  • Install OpenSSL:

    1. 此处下载适用于您的 Windows 版本的 Win32 OpenSSL 页面和PC架构
    2. 为您的 Windows 和 PC 架构版本下载 Visual C++ 2008 可再发行组件
    3. 为您的 Windows 版本和架构下载 OpenSSL(常规版本,不是轻量版本)
    4. c:openssl-win32in(或类似的)目录添加到您的PATH,与添加C:python33 的方式相同code> 和 C:python33scripts 以上.
    1. Download Win32 OpenSSL page from HERE for your version of Windows and PC architecture
    2. Download Visual C++ 2008 redistributables for your version of Windows and PC architecture
    3. Download OpenSSL for your version of Windows and architecture (the regular version, not the light one)
    4. Add the c:openssl-win32in (or similar) directory to your PATH, the same way you added C:python33 and C:python33scripts above.

  • 安装 Setuptools(get-pip.py 应该为您安装 Setuptools),但是,以防万一……

  • Install Setuptools (get-pip.py should install Setuptools for you), but, just in case...

    1. 下载ez_setup.py 这里并将其保存在 C:python33scripts
    2. 运行C:python33scripts>python ez_setup.py

  • 安装PIP

    1. HERE 并将其保存在 C:python33scripts
    2. 运行C:python33scripts>python get-pip.py

  • 安装LXML

    1. 这里下载LXML 3.3.3适用于您的 Windows 版本和 PC 架构
    2. 运行EXE文件
    1. Download LXML 3.3.3 from HERE for your version of Windows and PC architecture
    2. Run the EXE file

  • 这篇关于在 Windows 7 32 位上使用 Python 3.3 的 LXML 3.3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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