On this page:
- PyCharm editions
- Downloading and installing PyCharm
- Starting PyCharm on the various platforms
- Importing PyCharm usage preferences from a previous version
To get acquainted with PyCharm, you can download and install its trial version for free. This trial version is available for 30 days, whereupon you need to obtain and register a license.
PyCharm editions
There are two PyCharm editions: Community and Professional.
The Community Edition is free and open source but has less features. The Professional Edition is commercial but provides an outstanding set of tools and features. (You can evaluate PyCharm Professional for free for 30 days.)
For more information, see feature-by-feature
Editions comparison
matrix.
Downloading and installing PyCharm
You can download the latest version of PyCharm from the JetBrains website
.
(There are the versions for Windows, OS X and Linux.)
Depending on your operating system:
- Windows: Run the
.exefile and follow the instructions of PyCharm Setup wizard. - OS X: Open the
.dmgpackage, and drag PyCharm to the Applications folder. - Linux: Unpack the
.tar.gzarchive into any directory within your home directory.
Refer to the section Starting PyCharm on the various platforms for details.
Starting PyCharm on the various platforms
Starting PyCharm on Windows
If during the installation you selected to create a shortcut on your desktop, double-click that shortcut.
Otherwise, go to the <PyCharm>\bin folder
(e.g. C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.0.2\bin) and
run idea.exe or idea.bat.
See also, Importing PyCharm usage preferences from a previous version.
Starting PyCharm on OS X
If you are using the versions of Java over 6, then note that Java version specified in the file
idea.propereties takes precedence over that specified in info.plist.
If you want to change the Java version without modifying the file info.plist, you
can just change the value of JVMVersion property as required,
for example, JVMVersion = 1.6+.
Thus the entire procedure is:
- Make sure that you have an appropriate version of Java (JRE or JDK) installed.
This may be Java 6 from Apple, or Java 7 or a later version from Oracle.
(You can try to start PyCharm right away. If there is no Java on your computer, PyCharm will notify you about that.)
- If necessary, do the following:
- Copy the file
idea.propertiesfrom/Applications/PyCharm<version>.app/Contents/binto~/Library/Preferences/PyCharm<version> - Open
~/Library/Preferences/PyCharm<version>/idea.propertiesfor editing. - Change
JVMVersion=1.6*toJVMVersion=1.6+. - Save and close the file.
- Copy the file
- Go to your
/Applicationsfolder and run the PyCharm application.
See also, Importing PyCharm usage preferences from a previous version.
Starting PyCharm on Linux
Before you start
Make sure that you have an Oracle JRE or JDK version 6 or later installed on your computer. Refer to the section Installing Oracle JDK.
Launching PyCharm
To launch PyCharm on Linux, follow these steps:
-
Download the
pycharm-professional or pycharm-community-*.tar.gzfile from the Download
page.
-
Unpack the
pycharm-professional or pycharm-community-*.tar.gzfile to an empty directory using the following command:tar xfz pycharm-professional or pycharm-community-*.tar.gz
-
Because running PyCharm from wherever you downloaded the file to may be inconvenient, it
is recommended that you move the extracted or unpacked archive folder to the desired
location using the
mvcommand in one of the following formats:- For example:
mv <path to extracted archive folder> <new archive folder>
mv /downloads/pycharm-professional or pycharm-community-* my/desired/location
-
For example:
mv <path to pycharm-professional or pycharm-community-*.tar.gz> <new archive folder>
mv /downloads/pycharm-professional or pycharm-community-*.tar.gz my/desired/location
-
Switch to the
bindirectory in the new location:For example,cd <new archive folder>/pycharm-professional or pycharm-community-*/bin
cd my/desired/location/pycharm-professional or pycharm-community-*/bin
- Run
pycharm-professional or pycharm-community.shfrom thebinsubdirectory. - Install Oracle (Sun) JDK 1.6 or higher if your distribution does not contain it.
Follow the provider's instructions at http://www.oracle.com/technetwork/java/javase/downloads/index.html
.
Installing JDK
Do one of the following:
- Install OpenJDK 1.7 or higher according to the instructions for your Linux distribution.
-
Download and install JDK from Oracle official site.
- Download Oracle (Sun) JDK 1.6
for not RPM-based platforms. - Follow the installation instructions
. - Specify the directory where JDK is installed through the JAVA_HOME
variable.
- Download Oracle (Sun) JDK 1.6
Additional launchers
Additionally, you can create a desktop shortcut and a command-line launcher, and use them to start PyCharm:
See also, Importing PyCharm usage preferences from a previous version.
Creating a desktop shortcut
To create a desktop shortcut for PyCharm, use the Create Desktop Entry command. This command is available:
- In the Customize PyCharm wizard - when you run PyCharm for the first time.
- On the Welcome screen: .
- In the main menu: .
You can choose to create the shortcut:
- For all of your computer users:
In this case, the
jetbrains-idea.desktopentry file is created in/usr/share/applications. - Only for yourself:
The
jetbrains-idea.desktopentry file is created in~/.gnome/appsand~/.local/share/applications.
Importing PyCharm usage preferences from a previous version
When you start PyCharm for the first time, the Complete Installation dialog opens, and you have an option of importing PyCharm usage preferences and license information from a previous version.
Select one of the following options and click OK.
- I want to import my settings from a previous version (<path>). If this option is present in the dialog, the directory that contains the PyCharm settings and license information is found at its default location. (The corresponding path is shown within the option name in parentheses.) Most likely, this is the option that you want.
-
I want to import my settings from a custom location.
You may have the directory with the settings
and license information
available
but not at its default location.
If the option discussed above is missing, PyCharm doesn't know where this directory is;
the path initially shown in the field is just a guess, and
there's no guarantee that the necessary folder is really there.
To import the settings in this case, you can specify the folder with the settings
(if you know where it is) , or an installation folder of the previous PyCharm version.
To do that, click
and select the folder in the dialog that opens . - I do not have a previous version of PyCharm or I do not want to import my settings. If this is your case, select this option.
See also, Exporting and Importing Settings.