Question

by: piethon3, 9 years ago


Hi.  i'm having trouble with the Pandas challenges.  i am trying to install lxml because it says it is not installed but during install i get an error 'failed to build wheel'.  i have a tar.gz of 3.4 which i stuck in my scripts folder after unzipping but i can't install it fully.  any help is great thanks community



You must be logged in to post. Please login or register an account.



Have you gone through this tutorial: http://pythonprogramming.net/using-pip-install-for-python-modules/ ?




-Harrison 9 years ago

You must be logged in to post. Please login or register an account.


yea, but still no dice.  within the installation process i get a few messages like 'visual c ++ 10 required' and 'make sure development packages of libxm12 and libxslt are installed

-piethon3 9 years ago

You must be logged in to post. Please login or register an account.


So walk me through the process you've done.

Have you made sure to match python bit version and the module bit version? If so, what is your bit version that you're using?



-Harrison 9 years ago

You must be logged in to post. Please login or register an account.


i am running 32 bit Python and the .whl file is lxml-3.4.4-cp34-none-win32.whl

-piethon3 9 years ago

You must be logged in to post. Please login or register an account.


I am still a bit confused @  "i have a tar.gz of 3.4"

That doesn't really make any sense to me. You'd need to extract the tar.gz if you wanted that to be the method you used. Otherwise, you should be able to http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml

Then opening the cmd window in your downloads directory:

C:/Python34//Scripts/pip install lxml-3.4.4-cp34-none-win32.whl


....If that fails, still, then you can use a program like 7zip, and literally extract the .whl file. When you do that, you should get an "lxml" directory and an "lxml-3.4.4.dist-info" directory. Take these, and drag and drop them both into C:/Python34/Lib/site-packages



-Harrison 9 years ago
Last edited 9 years ago

You must be logged in to post. Please login or register an account.