国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁(yè) > 編程 > Python > 正文

linux 下實(shí)現(xiàn)python多版本安裝實(shí)踐

2020-02-23 06:10:06
字體:
來(lái)源:轉(zhuǎn)載
供稿:網(wǎng)友

使用pythonbrew

代碼如下:
easy_install pythonbrew
[root@li637-23 schirm]# pythonbrew_install

Well-done! Congratulations!

The pythonbrew is installed as:

  /root/.pythonbrew

Please add the following line to the end of your ~/.bashrc

  [[ -s "$HOME/.pythonbrew/etc/bashrc" ]] && source "$HOME/.pythonbrew/etc/bashrc"

After that, exit this shell, start a new one, and install some fresh
pythons:

  pythonbrew install 2.7.2
  pythonbrew install 3.2

For further instructions, run:

  pythonbrew help

The default help messages will popup and tell you what to do!

Enjoy pythonbrew at /root/.pythonbrew!!
[root@li637-23 schirm]# vim /root/.pythonbrew
[root@li637-23 schirm]# . ~/.bashrc
[root@li637-23 schirm]# pythonbrew install 2.7.2
Downloading Python-2.7.2.tgz as /root/.pythonbrew/dists/Python-2.7.2.tgz
######################################################################## 100.0%
Extracting Python-2.7.2.tgz into /root/.pythonbrew/build/Python-2.7.2

This could take a while. You can run the following command on another shell to track the status:
  tail -f "/root/.pythonbrew/log/build.log"

Installing Python-2.7.2 into /root/.pythonbrew/pythons/Python-2.7.2

怎么樣小伙伴們,是不是很簡(jiǎn)單,有相同需求的小伙伴們自己參考下吧

發(fā)表評(píng)論 共有條評(píng)論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 江孜县| 凉城县| 会东县| 朝阳市| 兴隆县| 交城县| 双牌县| 页游| 城市| 南郑县| 介休市| 榆社县| 师宗县| 毕节市| 玉树县| 历史| 那曲县| 赤水市| 浦城县| 股票| 陵水| 汉阴县| 普兰店市| 广东省| 旅游| 日喀则市| 玛纳斯县| 图片| 喀什市| 综艺| 罗甸县| 利辛县| 辽中县| 张家港市| 嘉定区| 石泉县| 商洛市| 和硕县| 泰顺县| 杭锦后旗| 济源市|