ModuleNotFoundError: No module named '_bz2'
I was at a loss when I got the error. Apparently there is no bzip2-devel, so I installed it and reinstalled Python and it worked
sudo yum install bzip2-devel
pyenv uninstall 3.6.0
pyenv install 3.6.0
You have to reinstall Python. I'm glad I solved it.
Recommended Posts