C:\Users\Liam>nikola
Traceback (most recent call last):
File "c:\Python27\Scripts\nikola-script.py", line 9, in <module>
load_entry_point('Nikola==7.2.0', 'console_scripts', 'nikola')()
File "C:\Python27\lib\site-packages\pkg_resources\__init__.py", line 474, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "C:\Python27\lib\site-packages\pkg_resources\__init__.py", line 2569, in load_entry_point
return ep.load()
File "C:\Python27\lib\site-packages\pkg_resources\__init__.py", line 2260, in load
['__name__'])
File "C:\Python27\lib\site-packages\nikola\__init__.py", line 33, in <module>
from .nikola import Nikola # NOQA
File "C:\Python27\lib\site-packages\nikola\nikola.py", line 61, in <module>
import lxml.html
File "C:\Python27\lib\site-packages\lxml\html\__init__.py", line 42, in <module>
from lxml import etree
ImportError: DLL load failed: %1 is not a valid Win32 application.
It seems you are using 32 bits Python and 64 bits (amd64) lxml.
Replace the latter with the correct one.
--
I uninstalled all the Python versions on my Win7 machine. One of the installs had been done with Chocolatey (https://chocolatey.org/packages/python2) and when this was clear, the updated install with Chocolatey worked fine.