The JetBrains Guide is shutting down on March 30, 2026. more...

Auto Install and Import Packages on the Fly

Start typing a name in the editor. If the name references a class that has not been imported you can import it and add the import in one step.

The Problem

Let's say you want to install and create the import statement for a new package you've just typed.

The Solution

Easy, invoke Context Actions ⌥⏎ (macOS) / Alt+Enter (Windows/Linux), then choose Install and Import package.

PyCharm will install the package and create the import according to your project styles.

Related Resources

Introduction
Introduction
Breaking Barriers - Revolutionizing Development through Remote Collaboration.
Google Kubernetes Engine
Google Kubernetes Engine
Harnessing the Power of Google Kubernetes Engine.
Installing the Google Cloud Code plugin and the Google Cloud SDK
Installing the Google Cloud Code plugin and the Google Cloud SDK
Simplifying Setup with GCloud SDK and Cloud Code Plugin.