Skip to content Skip to sidebar Skip to footer

How To Install Lxml Python 3.3 Windows 8 64 Bit

I think I'm too stupid for installing LXML Lib on my System. Please can anyone help me with instructions for stupid people? I found a lot of instruction, but they did not help me m

Solution 1:

If you on Windows, why not to use binary packages with normal installers? You can find them on this page: http://www.lfd.uci.edu/~gohlke/pythonlibs/

Solution 2:

You can also use anaconda. Once you have it installed (http://continuum.io/downloads) you can just run conda install lxml to install lxml. It's also very useful for packages like numpy and scipy, which can sometimes be a pain to install on Windows.

Solution 3:

These instructions are for Windows7 or Windows8 with Python3.3 specifically as the original poster requested. However, they should work for various versions as the releases of python and other respective prerequisites change/evolve:

  1. Install Python3.3:
    1. Download the last release of Python3.3 (currently 3.3.5) from the downloads page HERE
      • Direct link for Win32 MSI installer -> HERE
      • Direct link for Win64 MSI installer -> HERE
    2. Simply run the MSI to install python. It will register itself in the registry, and appear in Add/REmove Programs.
    3. NOTE: my instructions that follow assume that you choose to install python to the default path of C:\python33\ when asked during the Python Installation Wizard
  2. Add the C:\python33\ and C:\python33\scripts 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).
  3. Install OpenSSL:
    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-win32\bin (or similar) directory to your PATH, the same way you added C:\python33 and C:\python33\scripts above.
  4. Install Setuptools (get-pip.py should install Setuptools for you), but, just in case...
    1. Download ez_setup.pyHERE and save it in C:\python33\scripts
    2. Run C:\python33\scripts> python ez_setup.py
  5. Install PIP
    1. Download get-pip.py from HERE and save it in C:\python33\scripts
    2. Run C:\python33\scripts> python get-pip.py
  6. Install LXML
    1. Download LXML 3.3.3 from HERE for your version of Windows and PC architecture
    2. Run the EXE file

Solution 4:

Download lxml based on your version dependencies from here,

http://www.lfd.uci.edu/~gohlke/pythonlibs/djcobkfp/lxml-3.4.4-cp27-none-win32.whl # replace lxml version based on your dependencies.. http://www.lfd.uci.edu/~gohlke/pythonlibs/ and open your command prompt open lcoation Downloads or where file Downloaded in cmd..

that install using,

pip install lxml-3.4.4-cp34-none-win_amd64.whl # this is eg name may vary based on your python or lxml version. 

Post a Comment for "How To Install Lxml Python 3.3 Windows 8 64 Bit"