Archives For PyCharm

PyCharm IDE

The first release of PyCharm python IDE 2018 was announced earlier today with great new features.

PyCharm 2018.1 release highlights:

  • Data scientists can now define code cells in their files, and choose exactly which parts to execute. No more need to re-import your data every time you finetune your analysis!
  • Do you run Python code on remote machines? Configuring an SSH remote Python interpreter is now easier than ever.
  • Even though Python 3.7 isn’t out yet, PyCharm 2018.1 already fully supports developing Python 3.7 code.
  • Those of you who take pride in having precise commits will be pleased to hear that you can now choose which chunks of files to include in your git commits.
  • PyCharm is the Python IDE that knows your code, and PyCharm 2018.1 knows Python code better than ever with new code intelligence features.
  • Docker Compose file format 3.3 and later are now supported. Also, performance of Docker Compose interpreters has improved significantly.

How to Install PyCharm 2018.1 in Ubuntu:

Jetbrains offers official snap packages for Ubuntu Linux users. You can install it in Ubuntu 16.04, Ubuntu 17.10, Ubuntu 18.04 via following steps.

1. (Ubuntu 16.04 only) For those who never installed a snap package, open terminal (Ctrl+Alt+T) and run command to install snapd daemon:

sudo apt-get install snapd snapd-xdg-open

No visual feedback while typing your password due to security reason.

2. Then you can search for and install PyCharm via Ubuntu Software:

Or run command in terminal instead to install the IDE:

snap install pycharm-community --classic

For professional, replace pycharm-community with pycharm-professional in the code.

PyCharm IDE

Jetbrains announced the release of its Python IDE, PyCharm 2017.3.2, a day ago. Here’s how you can install it in Ubuntu 16.04 and higher.

Changes in PyCharm 2017.3.2 include:

  • Type annotation ahead of time. You can’t put an inline type annotation when defining a variable in a for or a with statement, so you need to provide the annotation in a separate place, read more on the ticket. This is now supported in PyCharm.
  • ‘Show command line afterwards’ now works correctly for remote interpreters. And further fixes to this feature
  • Various SQL syntax fixes for PostgreSQL and Oracle (PyCharm Professional Edition bundles all DataGrip features)
  • React code completion improvements (PyCharm Professional Edition bundles all WebStorm features)
  • And more, see the release notes for details

How to Install PyCharm 2017.3.2 in Ubuntu:

You can easily run the new release in Ubuntu either via:

method 1: official Linux binaries. NON-INSTALL version, just extract and run executable file to launch the IDE:

Download PyCharm Linux binary

method 2: or install the Snap package. App run in sandbox. Support for Ubuntu 16.04 and higher:

Simply open terminal via Ctrl+Alt+T or by searching for ‘terminal’ from app launcher. When it opens, run command:

snap install pycharm-community --classic

For professional edition, run following command instead:

snap install pycharm-professional --classic

Once installed, launch the IDE from your application launcher and enjoy!

Uninstall:

To remove the snap packages, either use Ubuntu Software or run command in terminal:

sudo snap remove pycharm-community pycharm-professional

For those who prefer traditional Ubuntu PPA, keep an eye on the launchpad PPA.

PyCharm IDE

The first update for PyCharm 2017.3 was released a few days ago with a couple of fixes and small improvements.

Changes in PyCharm 2017.3.1 includes:

  • Several issues with running Python modules (-m) were resolved: running modules remotely, showing command line after running
  • Further issues with running code over SSH were resolved: they can now connect to IPv6 hosts from macOS, don’t misinterpret ProxyCommand: none, and correctly parse the HostKeyAlgorithms option (Connecting to a Python interpreter over SSH is only supported in PyCharm Professional Edition)
  • Code insight for SQLAlchemy was improved, the issue with ‘incorrect call arguments’ has been fixed.
  • And more, see the release notes for details

How to Install PyCharm 2017.3.1 in Ubuntu:

You can easily run the new release in Ubuntu via either:

method 1: official Linux binaries. NON-INSTALL version, just extract and run executable file to launch the IDE:

Download PyCharm Linux binary

method 2: or install the Snap package. WELL integrated with Ubuntu. Support for Ubuntu 16.04 and higher:

Simply open terminal via Ctrl+Alt+T or by searching for ‘terminal’ from app launcher. When it opens, run command:

sudo snap install pycharm-community --classic

For sudo prompts, input your password (no visual feedback while typing) when it asks and hit Enter.

For professional edition, run following command instead:

sudo snap install pycharm-professional --classic

Once installed, launch the IDE from your application launcher and enjoy!

Uninstall:

To remove the snap packages, either use Ubuntu Software or run command in terminal:

sudo snap remove pycharm-community pycharm-professional

PyCharm IDE

Jet Brains announced the release of PyCharm 2017.3 earlier today. Here’s how to install it in Ubuntu 16.04, Ubuntu 17.04, Ubuntu 17.10, Ubuntu 18.04.

PyCharm 2017.3 release highlights:

  • Performance improvements: Python indexing is twice as fast, JavaScript indexing is up to 40% faster, configuring SSH interpreters is much faster (in some cases over 100x), and more!
  • The new release makes creating and selecting Python interpreters easier.
  • A new scientific mode, which puts all the tools you need for data science at your fingertips (professional version only)
  • An all new HTTP client for those who build (REST) APIs.
  • Fully supports for Django 2.0 (professional edition only)
  • Supports running Python modules (python -m )
  • Supports for SSH config files

How to Install PyCharm 2017.3 in Ubuntu:

You can easily run the new release in Ubuntu via either:

method 1: official Linux binaries. NON-INSTALL version, just extract and run executable file to launch the IDE:

Download PyCharm Linux binary

method 2 (recommended): or install the Snap package. WELL integrated with Ubuntu. Support for Ubuntu 16.04 and higher:

Simply open terminal via Ctrl+Alt+T or by searching for ‘terminal’ from app launcher. When it opens, run command:

sudo snap install pycharm-community --classic

For sudo prompts, input your password (no visual feedback while typing) when it asks and hit Enter.

For professional edition, run following command instead:

sudo snap install pycharm-professional --classic

Once installed, launch the IDE from your application launcher and enjoy!

Uninstall:

To remove the snap packages, either use Ubuntu Software or run command in terminal:

sudo snap remove pycharm-community pycharm-professional

PyCharm IDE

The professional version of PyCharm IDE 2017.1.3 can now be easily installed via a PPA repository (unofficial) in Ubuntu, though there’s an official Linux tarball available.

Although the GetDeb repository is maintaining the latest community version of PyCharm IDE for Ubuntu users, there lacks a PPA for PyCharm Pro since Mystic-Mirage dropped his PPA support half a year ago.

Now there’s another PPA contains both PyCharm Community and Pro (2017.1.3 so far). Though the PPA only supports Ubuntu 16.10 and Ubuntu 17.04 at the moment, the packages also work in Ubuntu 16.04.

PyCharm Professional

1. To add the PPA, open terminal via Ctrl+Alt+T and run command:

sudo add-apt-repository ppa:viktor-krivak/pycharm

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

PyCharm unofficial PPA

2. Then you can install PyCharm Pro via command (replace pycharm-professional with pycharm for the community version):

sudo apt update 

sudo apt install pycharm-professional

Install PyCharm Pro in Ubuntu 16.04:

For Ubuntu 16.04 LTS, grab the .deb package either for zesty or yakkety from PPA packages page.

Then install it either via Gdebi (available in Software Center) package installer or by running command:

sudo dpkg -i ~/Downloads/pycharm-professional_*.deb; sudo apt -f install

Uninstall:

To remove the PPA repository, go to System Settings -> Software & Updates and navigate to Other Software tab.

To remove the IDE, either use your system package manager, or run command:

sudo apt remove --autoremove pycharm-professional