Open samsudinr opened 10 months ago
the error : import lzma File "/Users/UD7879/.pyenv/versions/3.10.4/lib/python3.10/lzma.py", line 27, in from _lzma import * ModuleNotFoundError: No module named '_lzma'
the solution : CFLAGS="-I$(brew --prefix xz)/include" LDFLAGS="-L$(brew --prefix xz)/lib" pyenv install 3.10.4
source the solving problem : https://github.com/pyenv/pyenv/issues/1800
the error : import lzma File "/Users/UD7879/.pyenv/versions/3.10.4/lib/python3.10/lzma.py", line 27, in
from _lzma import *
ModuleNotFoundError: No module named '_lzma'
the solution : CFLAGS="-I$(brew --prefix xz)/include" LDFLAGS="-L$(brew --prefix xz)/lib" pyenv install 3.10.4