File tree Expand file tree Collapse file tree 1 file changed +1
-18
lines changed
Expand file tree Collapse file tree 1 file changed +1
-18
lines changed Original file line number Diff line number Diff line change @@ -44,26 +44,9 @@ In this episode we will cover the usage of the line-level profiler `line_profile
4444It is not part of the Python standard library, and therefore must be installed via pip.
4545
4646``` sh
47- pip install line_profiler[all]
47+ pip install " line_profiler[all]"
4848```
4949
50- :::::::::::::::: spoiler
51-
52- ### Mac OS
53-
54- If you are unable to install ` line_profiler ` via ` pip ` on MacOS. Instead it can be installed via ` conda ` .
55-
56- ``` sh
57- conda install line_profiler
58- ```
59-
60- It may first be necessary to enable conda-forge.
61-
62- ``` sh
63- conda config --add channels conda-forge
64- ```
65- ::::::::::::::::::::::::
66-
6750To use ` line_profiler ` decorate methods to be profiled with ` @profile ` which is imported from ` line_profiler ` .
6851
6952For example, the below code:
You can’t perform that action at this time.
0 commit comments