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

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

系統 1707 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條評論
主站蜘蛛池模板: 江源县| 文安县| 同心县| 玛沁县| 唐海县| 上杭县| 攀枝花市| 赤峰市| 普兰店市| 恩施市| 肇庆市| 烟台市| 嘉定区| 新巴尔虎左旗| 扶沟县| 凤台县| 华阴市| 德化县| 同仁县| 临沂市| 皋兰县| 射阳县| 武宣县| 宜兰县| 凌源市| 华坪县| 固安县| 新余市| 会理县| 玉树县| 泸州市| 商丘市| 黄冈市| 双城市| 浙江省| 怀远县| 太白县| 宣城市| 壶关县| 香格里拉县| 达尔|