Ubuntu下的python的lxml库和其他库的安装

版权声明:转载请注明出处 https://blog.csdn.net/nanhuaibeian/article/details/86408997

1. python2的lxml库安装

Ubuntu默认安装的是python2.7下的lxml库
apt-get install python-lxml

2. python3的lxml库安装

apt-get install python3-lxml

3. 其他库的安装方法类似,只需注意若是使用python3,需注明python3

猜你喜欢

转载自blog.csdn.net/nanhuaibeian/article/details/86408997