YingfanWang/PaCMAP

Unable to install PaCMAP

Closed this issue · 0 comments

Hello,

When I try to install PaCMAP using the commande pip install pacmap, I get the following error message :

ERROR: Command errored out with exit status 1:
command: 'C:\ProgramData\Anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Mohamed-Sidina\AppData\Local\Temp\pip-install-5ibkk7og\annoy_02d031dd786044c0aafd66183b64ad17\setup.py'"'"'; file='"'"'C:\Users\Mohamed-Sidina\AppData\Local\Temp\pip-install-5ibkk7og\annoy_02d031dd786044c0aafd66183b64ad17\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\Mohamed-Sidina\AppData\Local\Temp\pip-wheel-bd8a74xa'
cwd: C:\Users\Mohamed-Sidina\AppData\Local\Temp\pip-install-5ibkk7og\annoy_02d031dd786044c0aafd66183b64ad17
Complete output (10 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.8
creating build\lib.win-amd64-3.8\annoy
copying annoy_init_.py -> build\lib.win-amd64-3.8\annoy
running build_ext
building 'annoy.annoylib' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/

ERROR: Failed building wheel for annoy

Do have any solution for this ?