I have installed Ansible via Cygwin on My Windows 10 laptop which is Intel based 64-bit.
I can see all Netapp modules but when i try to install Netapp-lib it fails at Building wheel for lxml (setup.py) ... error.
I have found pre-package lxml but i dont see any package for intel-64bit. I can see for 32bit and amd64bit and when i try to install any of these 2 it says platform not compatible which is obvious.
Any way to get it installed on Intel based 64-bit?
Solved! See The Solution
Thanks. I have attached an error msg which i get while installing Netapp-Lib. Tried with both 32 and 64 bit installation of lxml seperately also but nothing works.
$ pip3.7 install lxml-4.5.0-cp37-cp37m-win32.whl
ERROR: lxml-4.5.0-cp37-cp37m-win32.whl is not a supported wheel on this platform.
$ pip3.7 install lxml-4.5.0-cp37-cp37m-win_amd64.whl
ERROR: lxml-4.5.0-cp37-cp37m-win_amd64.whl is not a supported wheel on this platform.
When i try to install lxml it seems it has 4.5 package already but fails during build as shown in error.
$ pip3.7 install lxml
Using cached lxml-4.5.0.tar.gz (4.5 MB)
Building wheels for collected packages: lxml
Building wheel for lxml (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv = '"'"'/tmp/pip-install-jbdg0hvy/lxml/setup.py'"'"'; __file__='"'"'/tmp/pip-install-jbdg0hvy/lxml/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-xx5k3qhe
Complete output (95 lines):
Building lxml version 4.5.0.
Building without Cython.
ERROR: b'/bin/sh: xslt-config: command not found\n'
** make sure the development packages of libxml2 and libxslt are installed **
Thanks for help. I could able to install the packages by re-running the cygwin setup. I am able to install Netapp-Lib and run my ansible playbooks now.
Thanks a lot.