国产探花免费观看_亚洲丰满少妇自慰呻吟_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ā)表
主站蜘蛛池模板: 阳原县| 茶陵县| 肇庆市| 海阳市| 海口市| 微博| 兴仁县| 浮山县| 左云县| 阳江市| 兴海县| 民县| 宜兴市| 苍山县| 永兴县| 浏阳市| 肥东县| 天祝| 宜宾市| 台前县| 阿合奇县| 若羌县| 商南县| 昭苏县| 甘泉县| 渭南市| 新野县| 大英县| 景宁| 靖宇县| 句容市| 龙口市| 盘山县| 托克逊县| 拜城县| 武城县| 黄冈市| 阜新市| 浦江县| 商城县| 普兰县|