0

Is there anyone who successfully install libvirt-python package under Win10/11.

PS C:\> pip install libvirt-python
Collecting libvirt-python
  Using cached libvirt-python-8.10.0.tar.gz (240 kB)
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: libvirt-python
  Building wheel for libvirt-python (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [47 lines of output]
      Package libvirt was not found in the pkg-config search path.
      Perhaps you should add the directory containing `libvirt.pc'
      to the PKG_CONFIG_PATH environment variable
      No package 'libvirt' found
      Package libvirt was not found in the pkg-config search path.
      Perhaps you should add the directory containing `libvirt.pc'
      to the PKG_CONFIG_PATH environment variable
      No package 'libvirt' found
      running bdist_wheel
      running build
      running build_py
      Package libvirt was not found in the pkg-config search path.
      Perhaps you should add the directory containing `libvirt.pc'
      to the PKG_CONFIG_PATH environment variable
      No package 'libvirt' found

Is there any way to install under MS?

1 Answer 1

0

No package 'libvirt' found

I refer to this answer in github.

libvirt is a library for virtualization. Infrakit depends on that for the libvirt plugin which can provision instances through KVM on Linux.

On the Mac, you can install libvirt by using command brew install libvirt.

Here's another similar issue, you can read it for more information.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.