Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bash setup script fails to install Python with the default Wine prefix #382

Open
neek8044 opened this issue Apr 24, 2024 · 1 comment
Open

Comments

@neek8044
Copy link
Contributor

Describe the bug
Linux setup script (PySilon-linux.sh) fails to install Python 3.10.8 with the default Wine prefix, because the specified Python version needs Windows 8.1 or above to run but the default prefix is Windows 7.

To Reproduce
Steps to reproduce the behavior:

  1. git clone repo on ~
  2. run ./PySilon-linux.sh
  3. go through the setup to the point where Python needs to be downloaded and installed inside of Wine
  4. Python installer opens and throws setup failure error indicating the need of Win8.1 or greater to run

Desktop:

  • OS: Linux Mint 21 w/Cinnamon, kernel version 5.15.0 (generic)
  • Python Version: 3.10.8 (stable af and has flawless compatibility with PySilon (from my experience))
  • Wine version: 6.0.3

Additional context
Suggested approaches to the problem:

  1. Create a new Wine prefix with all the required configurations and run Python through that, instead of the default prefix. (kind of complicated but would be the correct way to fix the issue)
  2. Tell Linux users they need to tinker the config themselves using winecfg and set it to Windows 10 in order to use PySilon. (recommended in case there is no one in the dev team who can code in Bash shell or knows how Linux works)

I could patch it myself since i know how the script works and send a PR but i have no time due to academic reasons. It might also not even be worth fixing anyways, since the majority of the users are on Windows, making the effort worthless. Just letting you know that this problem exists in case someone else needs help on Linux.

@Wojzito
Copy link

Wojzito commented Apr 28, 2024

if someone needs a fix do
wine winecfg -v win10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants