尝试在 Big Sur 上使用 librosa 和 pyenv 时出现错误:
File "/Users/me/programming/foo.py", line 9, in <module>
import librosa
(more lines here, then finally...)
File "/Users/me/.pyenv/versions/3.8.8/lib/python3.8/site-packages/pooch/processors.py", line 14, in <module>
import lzma
File "/Users/me/.pyenv/versions/3.8.8/lib/python3.8/lzma.py", line 27, in <module>
from _lzma import *
ModuleNotFoundError: No module named '_lzma'
有什么想法吗?