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

KaHIP with Python in Windows #131

Open
carrie-CA opened this issue May 8, 2023 · 4 comments
Open

KaHIP with Python in Windows #131

carrie-CA opened this issue May 8, 2023 · 4 comments

Comments

@carrie-CA
Copy link

I’m having trouble importing the KaHIP module in python and I’m wondering if you might be able to point me in the right direction.

Here’s where I’m at:

  • I’m using Anaconda3 and Spyder with Python 3.8
  • I’ve successfully run “pip install pybind11” in Anaconda
  • I’ve downloaded KaHIP from github and I’ve opened both callkahipfrompython.py and kahip.cpp in Spyder
  • I tried running “compile_withcmake.sh BUILDPYTHONMODULE” in Anaconda, and I briefly see another command window open and close, but there isn’t any output printed in the Anaconda window
  • When I try to run callkahipfrompython.py in Spyder it says “ModuleNotFoundError: No module named 'kahip'”
  • When I try to run “pip install kahip” in Anaconda it says:
    ERROR: Could not find a version that satisfies the requirement kahip
    ERROR: No matching distribution found for kahip

With other modules I usually have a .whl file that I can install. Is there something like that for KaHIP or something else I am missing?

Thank you in advance for any advice you might have!

@schulzchristian
Copy link
Member

Dear Carrie,

did you actually manage to compile KaHIP on Windows? It is currently not supported. This could explain the missing module isse. Could you try to run kaffpa using one of the example graphs?

Best
Christian

@carrie-CA
Copy link
Author

carrie-CA commented May 9, 2023 via email

@schulzchristian
Copy link
Member

schulzchristian commented May 10, 2023 via email

@carrie-CA
Copy link
Author

carrie-CA commented May 10, 2023 via email

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