To be able to use wappalyzer from the command and parse it from python you must have npm installed. When you get npm installed you can then do the following. The following way of parsing wappalyzer is how we did it when intergrating it online.
$ npm i -g wappalyzer # Globally$ npm i wappalyzer --save # As a dependency
To test if this wappalyzer is installed type the following
$ wappalyzer nmmapper.com