Python + pyenv + librosa + Big Sur 的问题

时间:2021-04-17 17:44:06

标签: python macos macos-big-sur pyenv librosa

尝试在 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'

有什么想法吗?

0 个答案:

没有答案