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

Need to remove PYTHONHOME environment variable in order to run under Windows #905

Open
kheckwrecker opened this issue Nov 13, 2024 · 2 comments

Comments

@kheckwrecker
Copy link

When running the latest version of master in Windows (as of today), it fails with a Python error. Manually unsetting PYTHONHOME and re-running the game works. Based on limited googling, I found a comment that PYTHONHOME should never be set as it generally causes problems.

@kheckwrecker
Copy link
Author

This issue is also a problem when compiling under Windows. In order to successfully run build.ps1, this environment variable needs to be unset first.

@kheckwrecker
Copy link
Author

For additional information, this is what the PYTHONHOME environment is set to on my computer.

C:\Projects\v\packages\python3_x64-windows\tools\python3

To remove it, in a command prompt, I just need to type set PYTHONHOME=

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

No branches or pull requests

2 participants