PyCharm Community Edition
From Gentoo Wiki
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
Partition is mounted with no exec
The IDE cannot execute a test script in the directory. Possible reason: the partition is mounted with 'no exec' option.
user $
ln -s /tmp /home/pych/.cache/JetBrains/PyCharmCE2023.1/tmp
No JDK found
If getting the following error message:
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
:
export PYCHARM_JDK=`java-config -O`
If using 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.