哪位装过lxml呀,能说说这个问题咋办吗
俺在试着在ubuntu下安装lxml模块,用的是Python2.6.4;
按照网上的步骤装的,装到easy_install lxml时,出错了,如下:
root@ubuntu:/# easy_install lxml
Traceback (most recent call last):
File "/usr/local/bin/easy_install", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 16, in <module>
import sys, os, zipimport, time, re, imp, types
ImportError: No module named time
请问该怎么办,是要装time模块吗?谢谢阿!
------解决方案--------------------
直接sudo apt-get install python-lxml