-
Notifications
You must be signed in to change notification settings - Fork 25
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
RuntimeError: Attempted to compile AOT function without the compiler used by numpy.distutils
present. Cannot find suitable msvc.
#28
Comments
@victorcsc123 , can you verify if it exists |
Yes, when I use developer command prompt and I type cl, I have exact the same as you have shown |
can you install Build tools, Build Tools for Visual Studio 2019 you can find that in this page, |
Yes, I installed visual studio 2019 building tool and tick the C++box to install |
I try to uninstall and reinstall many times, still failed to run. The error keep appearing. Do I miss some path so that numba can't recognise the compiler? |
I use this link to install |
okay, I hope you have python 3.6 and correct numba version. |
Yes, I type python --version. It said 3.6.0. and I have run that in vs developer too. Still failed. May be its my computer's problem. But this problem makes me sad, sigh...... |
try with docker. |
[+] Building 7.7s (18/23) When I run docker, it stopped at 18/23 |
** Visual Studio 2019 Developer Command Prompt v16.10.3 C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools>cl usage: cl [ option... ] filename... [ /link linkoption... ] . |
How can I completely develop the docker image/container? |
Docker should just work fine, it installs g++ . use power shell. |
Thank you so much for your reply. I am so sorry to bother you. Although I successfully launch the web, but it always said fail to upload. I am not sure if it is due to the fact that when I run docker, it stopped at 18/23 |
what error was thrown ? |
No error was thrown. Just stopped itself at 18/23 |
When i run python manage.py preparetracker, I encounter
RuntimeError: Attempted to compile AOT function without the compiler used by
numpy.distutils
present. Cannot find suitable msvc.I already installed visual studio 2019 C++, what else can I do?
The text was updated successfully, but these errors were encountered: