Ubuntu16.04 Installing sublime text 3 and configuring the Python development environment

Source: Internet
Author: User
Tags sublime text

Open the terminal, Add the sublime text 3 Warehouse:

sudo add-apt-repository ppa:webupd8team/sublime-text-3

Press the enter key to continue

To update the SOFTWARE library:

sudo apt-get update

Install Sublime Text 3:

sudo apt-get install Sublime-text-installer

installation Package Contro l:

ctr+ ' Bring up the console and paste the following python code :

Import Urllib.request,os,hashlib; h = ' df21e130d211cfc94d9b0905775a7c0f ' + ' 1e3d39e33b79698005270310898eea76 '; PF = ' package control.sublime-package '; IPP = Sublime.installed_packages_path (); Urllib.request.install_opener (Urllib.request.build_opener (Urllib.request.ProxyHandler ())); by = Urllib.request.urlopen (' http://packagecontrol.io/' + pf.replace (', '%20 ')). read (); DH = hashlib.sha256 (by). Hexdigest (); Print (' Error validating download (got%s instead of%s), please try manual install '% (DH, h)) if DH! = H Else Open (Os.pat H.join (IPP, PF), ' WB '). Write (by)

Suggest go to official website copy paste code:https://packagecontrol.io/installation

Activated:

-- BEGIN LICENSE -–

Free Communities Consultoria em Informática LTDA

Single User License

ea7e-801302

c154c122 4efa4415 F1AAEBCC 315f3a7d

2580735A 7955aa57 850abd88 72a1ddd8

8d2ce060 cf980c29 890d74f2 53131895

281e324e 98EA1FEF 7ff69a12 17ca7784

490862AF 833e133d fd22141d d8c89b94

4C10A4D2 24693D70 ae37c18f 72ef0be5

1ed60704 651bc71f 16ca1b77 496a0b19

463EDFF9 6beb1861 ca5bad96 89d0118e

-- END LICENSE --

To configure the Python Environment:

Ctrl+shift+p Open the package control: Enter the install package

Then enter Anaconda, install.

Test the Python Code and find the Code box.

Workaround:

Preferences-package settings-anaconda-setting User

Input ;

{

"Anaconda_linting": false,

automatically pep8 formatting after saving a file

"Auto_formatting": true,

}

Save, and then ctrl+b run the Python code.

Ubuntu16.04 Installing sublime text 3 and configuring the Python development environment

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.