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

Can this program run on windows 11 by compiling source code? #583

Open
shiwanghua opened this issue Aug 21, 2024 · 2 comments
Open

Can this program run on windows 11 by compiling source code? #583

shiwanghua opened this issue Aug 21, 2024 · 2 comments

Comments

@shiwanghua
Copy link

No description provided.

@shiwanghua
Copy link
Author

Does it need to install MKL ?

@MartinMoenks
Copy link

MartinMoenks commented Jan 30, 2025

https://learn.microsoft.com/en-us/cpp/build/reference/linking
https://learn.microsoft.com/en-us/cpp/build/reference/cl-environment-variables

Warning: You need to install and use the correct version of python,
otherwise the installed python version will succeed building an invalid file.

https://cmake.org/cmake/help/latest/module/FindPythonLibs.html

Add to Windows system environment variables

PYTHON_INCLUDE_DIRS=path to python

Alternative in command prompt

SET LIB=python\libs
SET INCLUDE=python\include
pip install hnswlib

For ComfyUI:

SET LIB=python\libs
SET INCLUDE=python\include
.\venv\Scripts\activate.bat
pip install hnswlib
.\venv\Scripts\deactivate.bat
SET LIB=
SET INCLUDE=

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