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

virt-deploy should depend on python-lxml #12

Open
mvollmer opened this issue Mar 5, 2015 · 3 comments
Open

virt-deploy should depend on python-lxml #12

mvollmer opened this issue Mar 5, 2015 · 3 comments

Comments

@mvollmer
Copy link

mvollmer commented Mar 5, 2015

Otherwise:

Traceback (most recent call last):
  File "<string>", line 2, in <module>
  File "/usr/lib/python2.7/site-packages/virtdeploy/__init__.py", line 38, in get_driver
    return get_driver_class(name)(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/virtdeploy/__init__.py", line 33, in get_driver_class
    module = __import__(DRIVERS[name][0], globals(), locals(), name, 1)
  File "/usr/lib/python2.7/site-packages/virtdeploy/drivers/libvirt.py", line 30, in <module>
    from lxml import etree
ImportError: No module named lxml
@simon3z
Copy link
Owner

simon3z commented Mar 7, 2015

@mvollmer are you referring to setup.py? currently the spec file should be ok (requires libxml2-python)

@mvollmer
Copy link
Author

mvollmer commented Mar 9, 2015

No, the traceback happens when running virt-deploy itself, on Fedora, when python-lxml is not installed. Sorry for not being clear about this.

@simon3z
Copy link
Owner

simon3z commented Mar 9, 2015

@mvollmer if you're installing the virt-deploy rpm then python-lxml must be there

https://copr.fedoraproject.org/coprs/fsimonce/virt-deploy/

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

2 participants