How To Install LXML Python 3.3 Windows 8 64 Bit
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:
- Install Python3.3:
- Download the last release of Python3.3 (currently 3.3.5) from the downloads page HERE
- Simply run the MSI to install python. It will register itself in the registry, and appear in Add/REmove Programs.
- 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
- Add the
C:\python33\
andC:\python33\scripts
folders to the system path by adding those directories to thePATH
environment variable from the Control Panel > System > Advanced System Settings link (Advanced Tab) > Environmental Variables (Button). - Install OpenSSL:
- 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-win32\bin
(or similar) directory to yourPATH
, the same way you addedC:\python33
andC:\python33\scripts
above.
- Install Setuptools (
get-pip.py
should install Setuptools for you), but, just in case...- Download
ez_setup.py
HERE and save it inC:\python33\scripts
- Run
C:\python33\scripts> python ez_setup.py
- Download
- Install PIP
- Download
get-pip.py
from HERE and save it inC:\python33\scripts
- Run
C:\python33\scripts> python get-pip.py
- Download
- Install LXML
- Download
LXML 3.3.3
from HERE for your version of Windows and PC architecture - Run the EXE file
- Download
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"