Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing libvirt dependency #48

Open
ycongal-smile opened this issue Aug 2, 2024 · 0 comments
Open

Missing libvirt dependency #48

ycongal-smile opened this issue Aug 2, 2024 · 0 comments

Comments

@ycongal-smile
Copy link

Describe the bug
When installing vm_manager, the libvirt dependency is missing

To Reproduce
Steps to reproduce the behavior:

python3 -m venv venv
. venv/bin/activate
python3 setup.py install
add_vm.py 

=>

 $ add_vm.py 
Traceback (most recent call last):
  File "...seapath/ansible/src/debian/vm_manager/venv/bin/add_vm.py", line 4, in <module>
    __import__('pkg_resources').run_script('vm-manager==0.1', 'add_vm.py')
  File "...seapath/ansible/src/debian/vm_manager/venv/lib/python3.11/site-packages/pkg_resources/__init__.py", line 708, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "...seapath/ansible/src/debian/vm_manager/venv/lib/python3.11/site-packages/pkg_resources/__init__.py", line 1528, in run_script
    exec(script_code, namespace, namespace)
  File "...seapath/ansible/src/debian/vm_manager/venv/lib/python3.11/site-packages/vm_manager-0.1-py3.11.egg/EGG-INFO/scripts/add_vm.py", line 10, in <module>
  File "...seapath/ansible/src/debian/vm_manager/venv/lib/python3.11/site-packages/vm_manager-0.1-py3.11.egg/vm_manager/__init__.py", line 37, in <module>
  File "...seapath/ansible/src/debian/vm_manager/venv/lib/python3.11/site-packages/vm_manager-0.1-py3.11.egg/vm_manager/vm_manager_libvirt.py", line 1, in <module>
  File "...seapath/ansible/src/debian/vm_manager/venv/lib/python3.11/site-packages/vm_manager-0.1-py3.11.egg/vm_manager/helpers/libvirt.py", line 9, in <module>
ModuleNotFoundError: No module named 'libvirt'

Expected behavior
add_vm.py runs correctly

Desktop:

  • OS: Debian 12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant