Archives For Python IDE

This quick tutorial is going to show you how to install the latest Python 3.6.1 in Ubuntu 16.04 LTS via PPA.

Ubuntu 16.04 comes with both Python 2.7 and Python 3.5 by default. You can install Python 3.6 along with them via a third-party PPA by doing following steps:

1. Open terminal via Ctrl+Alt+T or searching for “Terminal” from app launcher. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:jonathonf/python-3.6

Type in your password (no visual feedback due to security reason) when it asks and hit Enter.

2. Then check updates and install Python 3.6 via commands:

sudo apt-get update

sudo apt-get install python3.6

Now you have three Python versions, use python command for version 2.7, python3 for version 3.5, and/or python3.6 for version 3.6.1.

3. To make python3 use the new installed python 3.6 instead of the default 3.5 release, run following 2 commands:

sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.5 1

sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.6 2

Finally switch between the two python versions for python3 via command:

sudo update-alternatives --config python3

After selecting version 3.6:

python3 -V

PyCharm IDE

PyCharm 2017.1 was released yesterday. Features a much faster debugger, improved Python and JavaScript unit testing, and support for the six library.

PyCharm 2017.1 release highlights:

  • The Python debugger got forty times faster for Python 3.6 projects, and up to two times faster for older versions of Python
  • added support for the six compatibility library
  • Unit test runners for Python have been rebuilt from the ground up: you can now run any test configuration with PyCharm
  • Improved JavaScript unit testing: gutter icons indicating whether a test passed and support for Jest, Facebook’s JS testing framework (PyCharm Professional only)
  • Zero-latency typing is now on by default
  • Support for native Docker for Mac – no more need to use SOCAT! (PyCharm Professional only)
  • And more!

How to Install PyCharm 2017.1 in Ubuntu:

For the community version, the GetDeb repository has made the packages for Ubuntu 16.04, Ubuntu 16.10, and Linux Mint 18.

1. Open terminal via Ctrl+Alt+T for searching for “terminal” from start menu. When it opens, run command:

sudo sh -c 'echo "deb $(lsb_release -sc)-getdeb apps" >> /etc/apt/sources.list.d/getdeb.list'

2. After adding the GetDeb repository, setup the GPG key via command:

wget -q -O - | sudo apt-key add -

For Linux Mint, please enable GetDeb repository via Software Sources -> Additional Repositories.

3. Finally install PyCharm, the community version, via commands:

sudo apt update

sudo apt install pycharm

For the professional version, download the official Linux package from the link below, extract, and run the executable from bin/ folder (or read the document).

PyCharm Download Page

PyCharm IDE

This is a quick tutorial for beginners how to install the latest PyCharm Python IDE with Ubuntu integration via PPA.

The official PyCharm Linux binary packages lack shortcut launchers for Ubuntu desktop. To install the IDE with Ubuntu patch and receive future updates along with other system updates via Software Updater, you may use a third-party PPA maintained by Mystic-Mirage.

The PPA contains both the Professional and free Community version for Ubuntu 16.04, Ubuntu 15.10, Ubuntu 14.04, Ubuntu 12.04, and their derivatives.

PyCharm IDE

Mystic-Mirage has stopped updating the PPA, for those sticking to the latest Pycharm Community, use the GetDeb repository instead, see here.

1. Add the PPA.

Open terminal and paste (Shift+Ctrl+V) the command below and hit run:

sudo add-apt-repository ppa:mystic-mirage/pycharm

PyCharm PPA

Type in your password (no visual feedback) when it asks and hit Enter.

2. Update and install PyCharm.

If you have Synaptic Package Manager installed, launch it and then search for and install pycharm (or pycharm-community) after clicking the Refresh button.

Install PyCharm via Synaptic

Or run the commands below one by one in terminal to install the Professional version:

sudo apt update

sudo apt install pycharm

For the community version, replace the last command with:

sudo apt install pycharm-community

Once a new version is released and made into PPA, you can simply launch Software Updater to upgrade it.

3. (Optional) To remove the PPA, go to Software & Updates -> Other Software tab. And PyCharm IDE can be removed with apt command with remove flag:

sudo apt remove pycharm pycharm-community

That’s it. Enjoy!

PyCharm Ubuntu

Quick tutorial shows how to install the PyCharm, a Python IDE, in Ubuntu 14.04, Ubuntu 15.04, Linux Mint 17, or Elementary OS Freya via PPA.

PyCharm is an intelligent Python IDE with unique code assistance and analysis, for productive Python development on all levels. It features (community version):

  • Intelligent Editor, with code completion, on-the-fly error highlighting, auto-fixes, etc.
  • Automated code refactorings and rich navigation capabilities
  • Integrated debugger and unit testing support
  • Native VCS integrations
  • Customizable UI and key-bindings, with VIM
  • emulation available
  • And much more, all available under the Apache 2 license

PyCharm in Ubuntu

Install PyCharm from PPA:

Update Nov, 2016: The PPA now supports Ubuntu 16.04 and Ubuntu 16.10. The packages for Ubuntu 15.10 and older have been removed.

There’s a PPA repository for Ubuntu based users that contains both professional (30-day free trial) and community version of PyCharm packages. So far, Ubuntu 15.04, Ubuntu 14.04, Ubuntu 12.04 and their derivatives are supported.

1. To add the PPA, open terminal from the Dash, Launcher, or via Ctrl+Alt+T shortcut keys. When it opens, run command:

sudo add-apt-repository ppa:mystic-mirage/pycharm


2. After adding the PPA, update system package cache and install the IDE via Synaptic Package Manager. Or just run below commands one by one in terminal:

sudo apt-get update

sudo apt-get install pycharm

You may replace last command via sudo apt-get install pycharm-community to install the community version which is free.

For those who don’t want to add PPA, grab the .deb installer for either professional or community version from the launchpad page.

free python ide

Codimension is yet another free experimental Python IDE licensed under GPL v3. It aims to provide an integrated system for traditional text-based code editing, and diagram-based code analysis.

Many Python developers will find codimension useful as-is, even though not all of its features have been implemented yet.

Codimension IDE common view

codimension modules Diagram Tune

codimension ide classes

IDE line counter

Codimension currently has belw features (major only, no certain order):

  • Ability to work with standalone files and with projects
  • Remembering the list of opened files (and the cursor position in each file) separately for each project
  • Editing history support within / between files
  • Ability to hide / show tab bars
  • Recently edited files list support for each project separately
  • Recent projects list support
  • Automatic watching of the project directories for deleted / created files and nested directories
  • Template supports for new python fies for each project separately
  • Editor syntax highlight
  • Imports diagram for a file, a directory (recursively) or for a whole project with jumps to the code
  • Simple line counter
  • Hierarchical python files content browser with quick jumps to the code
  • Hierarchical classes / functions / globals browsers with filtering and quick jump to the code
  • Object browsers support showing docstrings as items tooltips
  • File outline tab
  • Running pylint with one click and quick jumps to the code from the produced output
  • Running pymetrics with one click and quick jumps to the code from the produced output where possible
  • Ability to run pylint / pymetrics for a file, a directory (recursively) or for a whole project
  • Table sortable representation of the McCabe cyclomatic complexity for a file or many files
  • Ability to have pylint settings file for each project separately
  • Opening file imports using a hot key; jumping to a definition of a certain imported item
  • Incremental search in a file
  • Incremental replace in a file
  • Search in files
  • Search for a name (class, function, global variable) in the project
  • Search for a file in the project
  • Jumping to a line in a file
  • Pixmaps viewer
  • Editor skins support
  • Detecting files changed outside of codimension
  • Code completer
  • Docstring and calltip search for the current editor word
  • Jump to the definition of the current word
  • Finding occurrences of the current word
  • Jumping to the beginning of the current function or class
  • Main menu
  • PythonTidy (python code beautifier) integration and diff viewer
  • Unused classes, functions and global variables analysis
  • Disassembling for classes and functions
  • Table representation of profiling results
  • Graphics representation of profiling results (side effect: shows a call graph)
  • Debugger
  • PyFlakes integration
  • Calltips
  • Plugin support
  • SVN support
  • Install Codimension:

    It’s easy to install this IDE in Ubuntu 13.10 Saucy, Ubuntu 13.04 Raring, Ubuntu 12.10 Quantal, Ubuntu 12.04 Precise, Linux Mint and their derivatives.

    Just press Ctrl+Alt+T on keyboard to open terminal. When it opens, run commands below one by one to install it from PPA:

    sudo add-apt-repository ppa:isloginov/codimension
    sudo apt-get update
    sudo apt-get install codimension codimension-parser

    Codimension Homepage