mv /usr/bin/python /usr/bin/pythonbak
ln -s /usr/bin/python3 /usr/bin/python
apt-get install python3-pip libvirt-dev
pip3 install psutil
wget https://files.pythonhosted.org/packages/6c/d4/207833148371d11478b258f3cbce1029c6352f599e0602cfd358618a84ad/libvirt-python-6.2.0.tar.gz
tar -zxvf libvirt-python-6.2.0.tar.gz
python setup.py build
python setup.py install
ubuntu 16.04环境下安装python3的libvirt
最新推荐文章于 2023-11-03 11:39:21 发布