1) pythonbrew
$pythonbrew uninstall Python-trunk
$pythonbrew install ~/workspace/python/trunk/
Note: 需要修改pythonbrew的配置文件中pip的链接。
2) python编译
1) pythonbrew
$pythonbrew uninstall Python-trunk
$pythonbrew install ~/workspace/python/trunk/
Note: 需要修改pythonbrew的配置文件中pip的链接。
2) python编译