Failed to install Pyenv In Ubuntu. Please advise, ubuntupyenv

Source: Internet
Author: User

Failed to install Pyenv In Ubuntu. Please advise, ubuntupyenv

Virtual Machine: VMware12.0

Operating System: Ubuntu16.04 LTS (New System)

Follow the steps on the Internet:

1. Install git:

$ Sudo apt-get install git

 

2. Install the dependency package:

$ 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. Install Pyenv:

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

 

4. Configure the environment:

$ 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

 

Final result:

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.