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

Fail to install on Windows #649

Closed
BigPotato-H opened this issue Jun 14, 2024 · 3 comments
Closed

Fail to install on Windows #649

BigPotato-H opened this issue Jun 14, 2024 · 3 comments

Comments

@BigPotato-H
Copy link

❓ Questions and Help

i was installing from source using: >pip install -e .
ERROR: Could not build wheels for scikit-sparse, which is required to install pyproject.toml-based projects

then i went to suitesparse: https://github.com/jlblancoc/suitesparse-metis-for-windows
and installed it with cmake from source.

here i dont know how to continue installing Theseus. because [pip install -e .] still doesn't work.

can anyone give some help?

best wishes!
捕获

@BigPotato-H
Copy link
Author

i m still trying to install scikit-sparse on windows.
install c++ suitesparse using cmake, referring to
https://github.com/xmlyqing00/Cholmod-Scikit-Sparse-Windows
i used the latest version of scikit-sparse, here :
https://github.com/scikit-sparse/scikit-sparse
modify the setup.py, specially the include dir and lib dir.
ensure the c++ suitesparse include and complied lib dir are correctly modified.
if u come across some problems like:
'.h' file can't be found, or '.lib' file can't be linked
try to include the special directory of the '.h' or the '.lib'

now scikit-sparse is successfully installed in the conda environment on windows.
i m trying to reinstall Theseus. new error comes, so sad.
Uploading 捕获3.PNG…

@luisenp
Copy link
Contributor

luisenp commented Jun 17, 2024

Hi @BigPotato-H. I don't have a lot of experience using Theseus of Windows, but what I recall is that you could install suitesparse from conda instead of pip, without having to compile from source. Did you try this?

@luisenp luisenp closed this as not planned Won't fix, can't repro, duplicate, stale Jul 29, 2024
@BigPotato-H
Copy link
Author

Hi @BigPotato-H. I don't have a lot of experience using Theseus of Windows, but what I recall is that you could install suitesparse from conda instead of pip, without having to compile from source. Did you try this?

Thanks for this important suggestion "install suitesparse from conda instead of pip", i didn't try this solution yet. Because i finally succeeded using Theseus on Windows WSL after two weeks' struggle on environment deployment on Windows. But next time when i have more free time, i will try it out. Thank you for your time and effort again.

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