September 5, 2020 at 8:23 am
#45164
False Genius
Participant
Right! Since, there was no, ‘/Python27/python.exe’, in ‘/root/.wine’ which caused the error below:
wine: Cannot find ‘/root/.wine/drive_c/Python27/python.exe’,
I copied the whole Python27 folder from windows machine to /root/.wine directory. Then, I used this command:
wine msiexec -i python-2.7.18.msi
to install python just for the current user, and not for all users. This removed that error and the error, “Python installation ended prematurely because of an error’