System:
Windows 10
Python 3.7
Numpy 1.15.1
VS 2017
I don't believe this is a duplicate as the following proposed resolutions have failed:
Additional Note: I don't have network access so I'm using 'basket' my install line is as follows:
pip install --no-index -f .basked numpy
I've run this in the command prompt
, power shell
, and VS command prompt
Final Error in Traceback:
377, in generate_sources
source = func(extension, build_dir)
File "numpy\core\setup.py", line 666, in get_mathlib_info
raise RuntimeError("Broken toolchain: cannot link a simple C program")
RuntimeError: Broken toolchain: cannot link a simple C program
I just answered the exact same question here: https://stackoverflow.com/a/61563861/209532
In short: You need to have mt.exe on the path to compile, Since Visual Studio 2017, is has been removed and is now to be found in the Windows SDK.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With