SPFx – Troubleshooting phyton2 error

Last month, I had to reinstall my laptop because of disk failure. Today, when I try to compile my SPFx (SharePoint Framework) project, I encounter “phyton2” not found exception. In fact, when I read the exception it was thrown by gyp npm component. This component apparently requires phyton to be installed . I can not find anywhere in SPFx documentation, the instruction to install phyton - although this will be triggered by the tooling.

SPFx – Troubleshooting Yeoman Generator

SharePoint Framework (SPFx) is a page and web part model that provides full support for client-side SharePoint development. You can use modern web technologies and tools to build productive experiences and apps that are responsive and mobile ready. To start the development environment, you have to install following tools: NodeJS Yeoman Gulp You will also need to install code editor such as Visual Studio Code, Sublime Text, Atom, Webstorm etc.