pyenv相关安装问题

1. pyenv install 下载慢

1. 代理

命令行可以用proxychains-ng

2. ~/.pyenv/cache

将要安装的版本的.gz包从官网下载之后放进~/.pyenv/cache再pyenv install就可以安装了

2. 依赖

ubuntu

1
2
3
4
sudo apt-get update
sudo apt-get install make build-essential libssl-dev zlib1g-dev
sudo apt-get install libbz2-dev libreadline-dev libsqlite3-dev wget curl
sudo apt-get install llvm libncurses5-dev libncursesw5-dev