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

ImportError: No module named lxml.etree #96

Open
ksingh7 opened this issue Mar 26, 2016 · 1 comment
Open

ImportError: No module named lxml.etree #96

ksingh7 opened this issue Mar 26, 2016 · 1 comment

Comments

@ksingh7
Copy link
Contributor

ksingh7 commented Mar 26, 2016

Hi
I was trying to setup CBT on a fresh system and encountered the following problem

[root@ceph-node1 cbt]# python cbt.py
Traceback (most recent call last):
  File "cbt.py", line 9, in <module>
    import benchmarkfactory
  File "/root/cbt/benchmarkfactory.py", line 10, in <module>
    from benchmark.cosbench import Cosbench
  File "/root/cbt/benchmark/cosbench.py", line 8, in <module>
    import lxml.etree as ET
ImportError: No module named lxml.etree
[root@ceph-node1 cbt]#

The fix was simple yum -y install python-lxml, just for documentation purpose i am creating this issue. I will submit a PR for updating documentation.

ksingh7 added a commit to ksingh7/cbt that referenced this issue Mar 26, 2016
CBT requires python-lxml libraries, so its a good idea to add this in documentation
under prerequisite section.With this commit documentation has been fixed.

Signed-off-by: ksingh7 <karan.singh731987@gmail.com>
markhpc pushed a commit that referenced this issue Mar 28, 2016
CBT requires python-lxml libraries, so its a good idea to add this in documentation
under prerequisite section.With this commit documentation has been fixed.

Closes #95

Signed-off-by: ksingh7 <karan.singh731987@gmail.com>
@ASBishop
Copy link

Looks like this issue can be closed.

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