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

Having a bit of trouble installing this #13

Open
frankliu197 opened this issue Jun 19, 2017 · 2 comments
Open

Having a bit of trouble installing this #13

frankliu197 opened this issue Jun 19, 2017 · 2 comments

Comments

@frankliu197
Copy link

This is my first time putting up an issue, I am not to sure if I am allowed to do this because this is not really a bug in your program, but please help me.

In the last step you told me to do, I got this error:
$ ./KeyboardLayoutEditor
The Python bindings for libxml2 were not found: No module named lxml

I installed libxml2 by doing:
wget ftp://xmlsoft.org/libxml2/libxml2-sources-2.7.2.tar.gz
tar -xvzf libxml2-sources-2.7.2.tar.gz
cd libxml2-2.7.2
./configure --prefix=/usr/local/libxml2
make
sudo make install

as shown here:
https://geeksww.com/tutorials/libraries/libxml/installation/installing_libxml_on_ubuntu_linux.php

but I still get the same error when doing the command $ ./KeyboardLayoutEditor .

Do you have any idea how to fix it?
Thanks,
-Frank

@ethus3h
Copy link

ethus3h commented Jun 19, 2017

You seem to be missing the lxml Python bindings for libxml.

@frankliu197
Copy link
Author

I got the first download on this page:
https://pypi.python.org/pypi/lxml/3.8.0

and extracted the files and place them into the keyboard-layout-editor folder.
Now running the code, I get this error:
The Python bindings for libxml2 were not found: cannot import name etree

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