如何在Ubuntu上安装cElementTree,其中Python2.7
需要1.0.5版
Python 2.7.6 (default, Oct 26 2016, 20:32:47)
[GCC 4.8.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import cElementTree
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named cElementTree
sudo pip install cElementTree
^{pr2}$
来自http://effbot.org/zone/celementtree.htm
cElementTree包含在Python2.5和更高版本中,作为xml.etree.cElementTree. 在
您可以从网站上提供的资源进行“手动”安装。在
相关问题 更多 >
编程相关推荐