Warning-Could not import the lzma module
/.pyenv/versions/pandas/lib/python3.7/site-packages/pandas/compat/__init__.py:117: UserWarning: Could not import the lzma module. Your installed Python is incomplete. Attempting to use lzma compression will result in a RuntimeError.
warnings.warn(msg)Install liblzma using homebrew
$ brew install xz$ pyenv unsinstall 3.7.1
pyenv: remove /Users/jeongdaye/.pyenv/versions/3.7.1? y$ pyenv install 3.7.1eval "$(pyenv init -)"$ source .zshrcpython serires.py
<class 'pandas.core.series.Series'>
a 11
b 2
c 3
dtype: int64참고
Last updated