Skip to content

Add guide for installation with Windows and Anaconda#59

Merged
jellis18 merged 4 commits into
scikit-sparse:masterfrom
EmJay276:master
Nov 1, 2022
Merged

Add guide for installation with Windows and Anaconda#59
jellis18 merged 4 commits into
scikit-sparse:masterfrom
EmJay276:master

Conversation

@EmJay276
Copy link
Copy Markdown
Contributor

There was no guide for Windows and I had a hard time figuring out how to install the package with Anaconda 3 (Python 3.7).
The solution is quiet simple by adding the anaconda paths to suitesparse include and library in the setup.py.

@batterseapower
Copy link
Copy Markdown

Thanks for this. The instructions still work with the latest conda/scikit-sparse though you need to make a trivial change to modify the new INCLUDE_DIRS and LIBRARY_DIRS variables in setup.py rather than the setup arguments directly.

@batterseapower
Copy link
Copy Markdown

Or I guess you can maybe use the new feature in #71 to set the paths.

@EmJay276
Copy link
Copy Markdown
Contributor Author

I will have a look at it and change it.

@EmJay276
Copy link
Copy Markdown
Contributor Author

EmJay276 commented Sep 7, 2022

@batterseapower I updated my guide by using the new features SUITESPARSE_INCLUDE_DIR and SUITESPARSE_LIBRARY_DIR

@EmJay276 EmJay276 changed the title Add guide for installation with Windows and Anaconda paths in setup.py Add guide for installation with Windows and Anaconda Sep 7, 2022
@EmJay276 EmJay276 mentioned this pull request Sep 19, 2022
@jellis18 jellis18 merged commit 9431241 into scikit-sparse:master Nov 1, 2022
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 this pull request may close these issues.

3 participants