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

Unsupported platform mingw64_nt #835

Open
fgnievinski opened this issue Jan 10, 2023 · 7 comments · May be fixed by #836
Open

Unsupported platform mingw64_nt #835

fgnievinski opened this issue Jan 10, 2023 · 7 comments · May be fixed by #836

Comments

@fgnievinski
Copy link

fgnievinski commented Jan 10, 2023

I got the following runtime error after trying pip install scipy:

Unsupported platform: mingw64_nt-10.0-19044. Please contact the scikit-build team.

could #485 help here?

@fgnievinski
Copy link
Author

workaround:

pacman -S mingw-w64-ucrt-x86_64-python-scipy

@henryiii
Copy link
Contributor

#485 was merged a while back. Though Cygwin != mingw. I've been testing mingw for scikit-build-core, maybe I can backport the CI for that here.

@henryiii henryiii linked a pull request Jan 10, 2023 that will close this issue
@henryiii
Copy link
Contributor

Do you know if there's something I need to set to get it to look for mingw? In #836 it seems to be (not) working (as expected) for msys, but for mingw it's not trying to build for that platform at all.

@fgnievinski
Copy link
Author

I'd try naming it "msys2":

https://en.wikipedia.org/wiki/Mingw-w64#MSYS2

@henryiii
Copy link
Contributor

That's not in the list of options here: https://github.com/msys2/setup-msys2. It seems to be reporting "windows" as the platform, which to me seems like it's not getting Python from msys2.

I'll likely need to reconnect my Windows box to try to get this working. Is installing msys2 locally straightforward?

@fgnievinski
Copy link
Author

sorry, I forgot to mention I might have multiple python versions installed, natively on Windows and over mingw/msys.

the installation of msys2 is a breeze:
https://www.msys2.org/#installation

check out the Windows virtual machines made available from Microsoft:
https://developer.microsoft.com/en-us/windows/downloads/virtual-machines/

thanks for looking into this.

@henryiii
Copy link
Contributor

I tried this, but when I enabled mingw64_nt as a unix-like platform, it did exactly what it did to CI - it locked up the VM and it couldn't be recovered, I had to start over from scratch. I'm not sure how it can do that, but something's really going wrong.

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

Successfully merging a pull request may close this issue.

3 participants
@henryiii @fgnievinski and others