osx - Python can't install with pyenv in mac -


$ brew install pyenv-virtualenv

and append following .bash_profile.

export pyenv_root="$home/.pyenv" export path="$pyenv_root/bin:$path" eval "$(pyenv init -)" 

$ source ~/.bash_profile

and install python.

$ pyenv install 2.7.11

then error occured.

zipimport.zipimporterror: can't decompress data; zlib not available

how solve?

all have following command.

$ xcode-select --install


Comments

Popular posts from this blog

ios - Memory not freeing up after popping viewcontroller using ARC -

Django REST Framework perform_create: You cannot call `.save()` after accessing `serializer.data` -

Why does Go error when trying to marshal this JSON? -