I have a problem installing lineprofiler for Python.
I've tried pip install --pre line_profiler, but it doesn't work.
It given following error:
error: Unable to find vcvarsall.bat
line_profiler is implemented in C via Cython in order to reduce the overhead of profiling.
vcvarsall.bat is part of the Microsoft Visual Studio toolset and is used to compile the C extensions.
If you don't want to compile the C extensions yourself, you can download the compiled Windows binary(.exe) from pypi, and install it.
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