An error occurred during the installation of assembly

It is wrong to install Python. The detailed error information is shown in Figure 1.

Figure 1

Find the control panel in my Windows 7 system -& GT; Procedures or functions -& GT; Turn Windows on or off
In the pop-up box, change the Microsoft.NET Framework 3.5.1 to check, that is, select all the functions of Microsoft.NET Framework, as shown in Figure 2

Figure 2

 
 
Reinstall Python, and you’re done!


Read More: