I tried this command:
wine /root/.wine/drive_c/Python27/python.exe -m pip install pyinstaller==3.5
This gave me the following error:
wine: Cannot find ‘/root/.wine/drive_c/Python27/python.exe’
I started looking for a solution online and found that this is because windows python hasn’t been installed properly so I did that by running the following command:
wine msiexec -i python-2.7.18.msi
Now, I am seeing another error: Python installation ended prematurely because of an error
What to do now?