ONTAP Discussions

Ansible for Netapp on windows 10 Intel 64bit


Hi Guys, 

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?






The error message is pretty obvious. Install the cygwin packages for libxml2 and libxlst.

View solution in original post



Both 32bit and amd64bit should work. Intel and AMD use the same x86 64bit extension. AMD invented it, thats why it is often referenced as amd64.


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.





I don't know much about cygwin. What about the lxml module provided by them? https://cygwin.com/cgi-bin2/package-cat.cgi?file=x86_64%2Fpython3-lxml%2Fpython3-lxml-3.4.4-1&grep=lxml


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
Collecting 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[0] = '"'"'/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
cwd: /tmp/pip-install-jbdg0hvy/lxml/
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 **

Does cygwin have development packages of those? If not then it may be a no-go feature.


The error message is pretty obvious. Install the cygwin packages for libxml2 and libxlst.

View solution in original post


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.

NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner