正如我在标题中所说,导入line_profiler
会导致分段错误。我在 macbook pro m1 max 上运行 python 3.9.7/conda-forge。有人对我如何解决这个问题有任何建议吗?
% python
Python 3.9.7 | packaged by conda-forge | (default, Sep 29 2021, 19:24:02)
[Clang 11.1.0 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import line_profiler
zsh: segmentation fault python
% conda list | grep line_profiler
line_profiler 3.3.1 py39h4d2d688_1 conda-forge