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

Building sphericart on Windows #129

Open
MMarwa95 opened this issue Jul 24, 2024 · 2 comments
Open

Building sphericart on Windows #129

MMarwa95 opened this issue Jul 24, 2024 · 2 comments

Comments

@MMarwa95
Copy link

Hello,

I am encountering an issue while trying to install the sphericart package. Despite having CMake and C++ Visual Studio installed, I receive the following error message during installation:

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for sphericart
Failed to build sphericart
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (sphericart)

System Information:

Operating System: Windows 10 pro 19045.4651
Python Version: 3.12.3
CMake Version: 3.30.0
Visual Studio Version: 17.10.4

Steps to Reproduce:

1-Install CMake and C++ Visual Studio.
2-Attempt to install sphericart using pip.
3-Observe the error message above.

I would appreciate any guidance or suggestions to resolve this issue.

Thank you!

Best regards,

Marwa Mansouri

@nickjbrowning
Copy link
Collaborator

nickjbrowning commented Jul 24, 2024

Hi Marwa,

Sphericart doesn't currently support Windows. See: #89 and #27.

If possible, I'd recommend using WSL2 (linux subsystem for windows) and install sphericart through that: https://learn.microsoft.com/en-us/windows/wsl/install

Visual studio code (VSC) has support for WSL2 through remote extensions, so you can work within the Linux subsystem while running VSC from windows.

@frostedoyster
Copy link
Collaborator

Indeed what @nickjbrowning mentions is a good solution. Otherwise, an experimental Windows build is available in the build-windows branch (only supporting C++ and Python for now). From private correspondence, @MMarwa95 was able to install sphericart successfully from that branch on Windows

@frostedoyster frostedoyster changed the title Error: Failed building wheel for sphericart Building sphericart on Windows Jul 26, 2024
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

3 participants