On 10/24/2011 12:02 AM, 水静流深 wrote:
there are two python versions in my computer,
python2.7 is the default,python3.2 is the second install.
for python2.7
~$python
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:05:24)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> import lxml
 >>>

for python3.2
~$python3.2
Python 3.2.2 (default, Oct 24 2011, 10:33:35)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> import lxml
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named lxml

i want to install lxml in python3.2.
how can i do?

Put a 3.2 version of lxml in the 3.2 Lib/site-packages directory.

--
Terry Jan Reedy


--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to