Python 3 lxml ImportError on CentOS 6.4 -


this question has answer here:

centos 6.4 on desktop had python 2.6.6 installed

$ python /usr/bin/python   $ python python 2.6.6 (r266:84292, feb 22 2013, 00:00:18)  [gcc 4.4.7 20120313 (red hat 4.4.7-3)] on linux2 type "help", "copyright", "credits" or "license" more information. >>>  

i installed python 3.3.0 source side-by-side existing python 2.6.6 version.

however, when trying use lxml module in python 3, importerror below:

$ python3 /usr/local/bin/python3   $ python3 python 3.3.0 (default, oct  8 2012, 21:38:46)  [gcc 4.4.6 20120305 (red hat 4.4.6-4)] on linux type "help", "copyright", "credits" or "license" more information. >>> lxml import etree traceback (most recent call last):   file "<stdin>", line 1, in <module> importerror: no module named 'lxml' >>>  

any pointers on how lxml module under python 3.3.0 appreciated.

you need install lxml for each python version want use with.


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -