June 2017
Intermediate to advanced
340 pages
8h 22m
English
To install the Python libvirt module, the iPython utility, and to create a new virtual environment for our tests, follow these steps:
root@kvm:~# apt-get install python-pip python-dev pkg-config build-essential autoconf libvirt-devroot@kvm:~# pip install virtualenvDownloading/unpacking virtualenv Downloading virtualenv-15.1.0-py2.py3-none-any.whl (1.8MB): 1.8MB downloadedInstalling collected packages: virtualenvSuccessfully installed virtualenvCleaning up...root@kvm:~#
root@kvm:~# mkdir kvm_pythonroot@kvm:~# virtualenv kvm_python/New python executable in /root/kvm_python/bin/pythonInstalling setuptools, ...
Read now
Unlock full access