[英]Libvirt-python package install VS Code Win10/11
Is there anyone who successfully install libvirt-python package under Win10/11.有没有人在Win10/11下成功安装libvirt-python package。
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?有没有办法在MS下安装?
No package 'libvirt' found
没有找到 package 'libvirt'
I refer to this answer in github.我在 github 中参考了这个答案。
libvirt
is a library for virtualization. libvirt
是一个用于虚拟化的库。 Infrakit depends on that for the libvirt
plugin which can provision instances through KVM on Linux. Infrakit 依赖于
libvirt
插件,它可以通过 Linux 上的 KVM 提供实例。
On the Mac, you can install libvirt
by using command brew install libvirt
.在 Mac 上,您可以使用命令
brew install libvirt
libvirt
Here's another similar issue , you can read it for more information.这是另一个类似的问题,您可以阅读它以获取更多信息。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.