mac が line_profiler をインストールします。pip が line_profiler をインストールすると、エラーが報告されます。

pip install Cython --user
git clone https://github.com/rkern/line_profiler.git
cd line_profiler
cython _line_profiler.pyx
pip install 。 - ユーザー

おすすめ

転載: blog.csdn.net/baoxin1100/article/details/108166822