Python 2.7 L 3.4

Source: Internet
Author: User

installed, with PPA available (supports all Ubuntu versions and derivative systems)

sudo add-apt-repository ppa:fkrull/deadsnakessudo apt-get updatesudo Install Python3. 4

Can be seen under/usr/bin/the following relevant documents

Python2 python2.7-config python3.4 Python-config
python2.7 python2-config python3.4m python

Update link

mv /usr/bin/python/usr/bin/python_oldln -s/usr/bin/python3. 4   /usr/bin/python

Install PIP

sudo Install python3-pipsudo python3-m easy_install pipsudoinstall <packagename>

Said

Well, on Ubuntu 13.10/14.04, things is a little different.

Install
$ sudo apt-get install python3-pip
Install Packages
$ sudo pip3 install packagename

Python 2.7 L 3.4

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.