The PyCharm Community Edition is free and open source with very few restrictions and there is no free trial. There is a free trial with the professional version of PyCharm, but this is not a trial piece of software, this is a program that was built to help people fall in love with (and rely on) PyCharm tools. PyCharm is an IDE that integrates with IPython Notebook, has an interactive Python console, and supports Anaconda as well as multiple scientific packages. PyCharm supports creating virtual environments for Python with conda. You can install PyCharm Community Edition from the Snap Store with the following command: $ sudo snap install pycharm-community -classic In this article, I am going to install PyCharm Professional Edition from the Snap Store. The snap package of PyCharm is being downloaded. Brew install-cask pycharm-ce Names: Jetbrains PyCharm Community Edition, PyCharm CE Free and open-source IDE for Python programming - Community Edition.
Plugins extend the core functionality of PyCharm. They:
provide integration with version control systems, application servers, and other tools
add coding assistance support for various languages and frameworks
boost your productivity with shortcut hints, live previews, File Watchers, and so on
help you learn a new programming language with coding exercises and verification
Open plugin settings
In the Settings/Preferences dialog Ctrl+Alt+S, select Plugins.
Use the Marketplace tab to browse and install plugins from the JetBrains Plugin Repository or from a custom plugin repository.
Use the Installed tab to browse installed plugins, enable, disable, update, or remove them. Disabling unnecessary plugins can increase performance.
Most plugins can be used with any JetBrains product. Some are limited only to commercial products. There are also plugins that require a separate license.
If a plugin depends on some other plugin, PyCharm will notify you about the dependencies. If your project depends on certain plugins, add them to the list of required plugins.
By default, PyCharm includes a number of bundled plugins. You can disable bundled plugins, but they cannot be removed. You can install additional plugins from the plugin repository or from a local archive file (ZIP or JAR).
In the Settings/Preferences dialog Ctrl+Alt+S, select Plugins.
Find the plugin in the Marketplace and click Install.
To install a specific version, go to the plugin page in the JetBrains Plugin Repository, download and install it as described in Install plugin from disk. For example, you can do it if the most recent version of the plugin is broken.
After you download the plugin archive (ZIP or JAR), do the following:
In the Settings/Preferences dialog Ctrl+Alt+S, select Plugins.
On the Plugins page, click and then click Install Plugin from Disk.
Select the plugin archive file and click OK.
Click OK to apply the changes and restart the IDE if prompted.
You cannot remove bundled plugins.
In the Settings/Preferences dialog Ctrl+Alt+S, select Plugins.
Open the Installed tab and find the plugin that you want to remove.
Click next to the Disable/ Enable button and select Uninstall from the drop-down menu.
You can disable a plugin without removing it if you do not need the corresponding functionality.
In the Settings/Preferences dialog Ctrl+Alt+S, select Plugins.
Open the Installed tab, find and select the plugin that you want to disable.
Click Disable. The button will change to Enable.
Alternatively, you can use the checkboxes in the list of plugins or the Disable All buttons for plugin categories.
You can disable or enable all manually installed plugins at once (non-bundled) in the menu under .
Custom plugin repositories
By default, PyCharm is configured to use plugins from the JetBrains Plugin Repository. This is where all the community plugins are hosted, and you are free to host your plugins there. However, if you develop plugins for internal use only, you can set up a custom plugin repository for them.
For information about setting up a custom plugin repository, see the IntelliJ Platform SDK documentation.
Once you set up your plugin repository, add it to PyCharm:
In the Settings/Preferences dialog Ctrl+Alt+S, select Plugins.
On the Plugins page, click and then click Manage Plugin Repositories.
In the Custom Plugin Repositories dialog, click and specify your repository URL. It must point to the location of the updatePlugins.xml file. The file can be on the same server as your custom plugins, or on a dedicated one.
Click OK in the Custom Plugin Repositories dialog to save the list of plugin repositories.
Click OK in the Settings/Preferences dialog to apply the changes.
To browse the custom plugin repository, type repository:
followed by the URL of the repository in the Marketplace tab of the Plugins page. For example:
Alternatively, you can replace the default JetBrains Plugin Repository with your custom repository URL. This can be helpful if you want only your custom repository plugins to be available from PyCharm. To do this, edit the platform properties or VM options file as described below. For more information, see Advanced configuration.
From the main menu, select Help | Edit Custom Properties.
Add the
idea.plugins.host
property to the platform properties file . For example:idea.plugins.host='http://plugins.example.com:8080/'To add multiple URLs, separate them with semicolons
;
.Make sure that there is no plugins.jetbrains.com URL.
Restart PyCharm.
If you replace the default plugin repository with a custom one, the search field on the Marketplace tab of the Plugins dialog will browse only the plugins in your custom repository.
Required plugins
A project may require plugins that provide support for certain technologies or frameworks. You can add such plugins to the list of required plugins for the current project, so that PyCharm will verify that the plugins are installed and enabled. It will notify you if you forget about some plugin, or someone on your team is not aware about the dependency as they work on the project.
Add a required plugin for your current project
Make sure that the required plugin is installed.
In the Settings/Preferences dialog Ctrl+Alt+S, select Build, Execution, Deployment | Required Plugins.
On the Required Plugins page, click and select the plugin. Optionally, specify the minimum and maximum version of the plugin.
To specify the required version of PyCharm itself, add IDE Core to the list of required plugins.
After the required plugin is added, when you open the project in PyCharm, it will notify you if the plugin is disabled, not installed, or requires an update.
Click the link in the notification message to quickly enable, install, or update the required plugin.
Productivity tips
Filter and sort search results
Type a forward slash
/
in the search string to see options for filtering and sorting search results. For example, you can search for all outdated plugins among the installed by typing:
PyCharm provides methods for installing, uninstalling, and upgrading Python packages for a particular Python interpreter. By default, PyCharm uses pip to manage project packages. For Conda environments you can use the conda package manager.
In PyCharm, you can preview and manage packages in the Python Packages tool window and in the Python interpreter Settings/Preferences.
Manage packages in the Python Packages tool window
The Python Packages tool window provides the quickest and neat way to preview and install packages for the currently selected Python interpreter. This window is enabled by default, and you can find it in the lower group of the tool windows. At any time you can open it using the main menu: View | Tool Windows | Python Packages.
Install Pycharm Community Snap
The Python Packages tool window shows installed packages and the packages available in the PyPI repository. Use the Search field to filter out the list of the available packages.
Install Pycharm Community For Windows 10
You can preview package documentation in the documentation area, or you can click the Documentation link and open the corresponding resource in a browser.
To delete an installed package, click in the upper-right corner of the Python Package tool window.
Install a package
Start typing the package name in the Search field of the Python Package tool window. You should be able to see the number of the matching packages.
Expand the list of the available versions in the upper-right corner of the tool window. Select the required version or keep it the latest.
Click the Install button next to the version list. Once PyCharm notifies you about successful installation, you should see the package in the list of the installed packages.
Manage packages in the Python interpreter settings
To manage Python packages for the Python interpreter, select the Python Interpreter page in the project Settings/Preferences or select Interpreter Settings in the Python Interpreter selector on the Status bar.
If you select a Python interpreter with the configured Conda environment, the Use Conda Package Manager toggle appears in the packages area toolbar.
Use this toggle to manage packages from the Conda environment repository. By default, this toggle is switched off and you can manage only the packages available with the selected Python interpreter.
Install a package
Click the button on the package toolbar.
In the Available Packages dialog that opens, preview the list of the available packages.
To specify a custom repository, including devpi or PyPi, click Manage Repositories.
In the Manage Repositories dialog that opens, click to add a URL of a local repository, for example, http://localhost:3141/root/pypi/+simple/, then click OK. In the Available Packages dialog, click to reload the list of the packages.To install a package from VCS, you need to switch to the Terminal window and execute the following command for the target Python interpreter:
pip install git+https://github.com/<rest of the address>
. See Installing Python packages from VCS for more details.Type the name of the package to install in the Search field. The list shrinks to show the matching packages only.
If required, select the following checkboxes:
Specify version: if this checkbox is selected, you can select the desired version from the list of available versions. By default, the latest version is taken.
Options: If this checkbox is selected, you can type the
pip install
command-line options in the text field.Install to user's site packages directory <path>: If this checkbox is left cleared (by default), then the packages will be installed into the current interpreter package directory. If the checkbox is selected, the packages will be installed into the specified directory. This option is not available for Conda environments.
Select the target package and click Install Package.
If you've got any or error messages, consult the Troubleshooting guide for a solution.
Uninstall a package
In the list of the packages, select the packages to be removed.
Click Uninstall ( ). The selected packages are removed from disk.
PyCharm smartly tracks the status of packages and recognizes outdated versions by showing the number of the currently installed package version (column Version ), and the latest available version (column Latest version ). When a newer version of a package is detected, PyCharm marks it with the arrow sign and suggests to upgrade it.
By default, the Latest version column shows only stable versions of the packages. If you want to extend the scope of the latest available versions to any pre-release versions (such as beta or release candidate ), click Show early releases.
Upgrade a package
In the list of the packages, select the package to be upgraded.
Click Upgrade ( ).
The selected packages are upgraded to the latest available versions.
Click OK to complete upgrading.
You can upgrade several packages at once. Hold Cmd (macOS) or Ctrl on (Unix or Windows), left-click to select several items in the list of packages, and then click Upgrade.
Install Pycharm Community Anaconda
If you're accustomed to installing packages from the commands line, you can proceed with your workflow using the Terminal.
Install Pycharm Community Edition On Mac
Reuse installed packages
Install Pycharm Community Command Line
Create a new virtual environment and install packages that you want to be used in other projects. Then you can specify this virtual environment as a Python interpreter for the target project and all the needed packages will be available.
In the Terminal window execute the following command:
pip freeze > requirements.txt
Then add the created
requirements.txt
file to the target project and PyCharm will prompt you to install the packages listed in the file.