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

error: Unable to find vcvarsall.bat #43

Open
youssef962 opened this issue Oct 15, 2021 · 2 comments
Open

error: Unable to find vcvarsall.bat #43

youssef962 opened this issue Oct 15, 2021 · 2 comments

Comments

@youssef962
Copy link

when building nearest_neighbors from setup.py file it shows the following error:
error: Unable to find vcvarsall.bat
how can I solve it?

@aboulch
Copy link
Owner

aboulch commented Oct 15, 2021

Hello,
The code was not tested on Windows. I am not familiar with missing dependencies on this platform.
Let me know if you find a solution, it may benefit to the Windows users.

@kvndhrty
Copy link

kvndhrty commented Jan 11, 2022

The link here is basically how I started solving this issue.

Taking the above advice I then added "import setuptools" to the first line (very important its at the top of the import list) and I'm now installing MS Visual C++ 14.0 to clean up what I think is the final error.

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

3 participants