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

Installation via pip failing on Windows 10/11 with "legacy-install-failure" #804

Open
GitMew opened this issue Mar 15, 2022 · 1 comment
Labels
contribution welcome It's a nice feature! But we do not have the time to do it ourselves. Contribution welcomed! help wanted Extra attention is needed Windows This is about support on the Windows platform

Comments

@GitMew
Copy link

GitMew commented Mar 15, 2022

I'm on Windows 10, Python 3.8.2 (but the same issue is happening on another machine with Windows 11, Python 3.7.3).

Running py -m pip install open-spiel==1.0.2 in a Windows Powershell terminal (both with and without administrator privileges) results in a legacy-install-failure error preceded by a subprocess-exited-with-error error. The full output is dumped here (note that Pastebin doesn't format this properly in the first window, so scroll down to the raw input at the bottom of the page).

One small locale footnote: [WinError 2] Het systeem kan het opgegeven bestand niet vinden translates to [WinError 2] The system cannot find the file specified.

I just upgraded from Windows 7 recently, exactly because the OpenSpiel installation required CMake and clang++. Now that I have those (as evidenced by the output), different errors arise. Is OpenSpiel's pip install not meant to work on Windows, perhaps?

@lanctot
Copy link
Collaborator

lanctot commented Mar 15, 2022

Hi @GitMew, we don't support installation via pip on Windows yet (and Windows support at all is a rather new feature). Hopefully we can look into this st some point this year.

For now you can follow these instructions on building in Windows from source: https://github.com/deepmind/open_spiel/blob/master/docs/windows.md

@lanctot lanctot added Windows This is about support on the Windows platform contribution welcome It's a nice feature! But we do not have the time to do it ourselves. Contribution welcomed! labels Mar 23, 2022
@lanctot lanctot added the help wanted Extra attention is needed label Apr 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution welcome It's a nice feature! But we do not have the time to do it ourselves. Contribution welcomed! help wanted Extra attention is needed Windows This is about support on the Windows platform
Projects
None yet
Development

No branches or pull requests

2 participants