日韩久久久精品,亚洲精品久久久久久久久久久,亚洲欧美一区二区三区国产精品 ,一区二区福利

linux 下實現python多版本安裝實踐

系統 1782 0

使用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

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


更多文章、技術交流、商務合作、聯系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯系: 360901061

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦!!!

發表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 三都| 沁阳市| 三河市| 乡宁县| 鄂温| 遵化市| 辽阳市| 黄冈市| 张家界市| 邳州市| 沧源| 深圳市| 太仆寺旗| 西乡县| 黎城县| 隆回县| 星座| 北流市| 赫章县| 武威市| 平湖市| 黄梅县| 博罗县| 垦利县| 昭通市| 新宾| 奎屯市| 乌拉特前旗| 汕头市| 潍坊市| 缙云县| 阿巴嘎旗| 城步| 兰州市| 通渭县| 惠州市| 赤峰市| 马关县| 仙游县| 北宁市| 上思县|