zoukankan      html  css  js  c++  java
  • Ubuntu下安装Pyenv不成功,求指教

    虚拟机:VMware12.0

    操作系统:Ubuntu16.04 LTS (新安装系统)

    已经按照网上的步骤:

    1.安装git:  

    $sudo apt-get install git

    2.安装依赖包:  

      $ sudo apt-get install libc6-dev gcc
    
      $ sudo apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm

    3.安装Pyenv:  

    $sudo curl -L https://raw.github.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash

    4.配置环境:

    $ git clone git://github.com/yyuu/pyenv.git ~/.pyenv
    $ echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc
    $ echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
    $ echo 'eval "$(pyenv init -)"' >> ~/.bashrc
    $ exec $SHELL -l

    最终结果:

  • 相关阅读:
    RMQ
    LCA 笔记
    LUCAS 定理
    topcoder 643 DIV2
    BZOJ 1071组队
    Codeforces Round #283 (Div. 2)
    topcoder 642
    Codeforces Round #278 (Div. 2)
    树链剖分
    Codeforces Round #277 (Div. 2)
  • 原文地址:https://www.cnblogs.com/soner/p/6068665.html
Copyright © 2011-2022 走看看