PyCharm Community Edition

From Gentoo Wiki
Jump to:navigation Jump to:search
This article is a stub. Please help out by expanding it - how to get started.

PyCharm Community Edition is an open source, single-language integrated developer environment (IDE) for Python projects created by JetBrains. PyCharm features syntax and error highlighting, auto-indentation, code completion, spell check, and a built-in Python debugger.

Installation

USE flags

USE flags for dev-util/pycharm-community Intelligent Python IDE with unique code assistance and analysis

bundled-jdk Use bundled jdk

Emerge

Install PyCharm:

root #emerge --ask dev-util/pycharm-community

Troubleshooting

No JDK found

If getting the following error message:

CODE ERROR: Cannot start PyCharm Community Edition:
No JDK found. Please validate either PYCHARM_JDK, JDK_HOME or JAVA_HOME environment variable points to valid JDK installation.

That means the JDK environment variables are not set properly.

If using bash:

FILE ~/.bashrc
export PYCHARM_JDK=`java-config -O`

If using fish:

FILE ~/.config/fish/conf.d/pycharm.fish
set -x PYCHARM_JDK (java-config -O)

See also

  • Vim — a text editor based on the vi text editor.
  • Emacs — a class of powerful, extensible, self-documenting text editors.


External resources