我已根据https://www.jetbrains.com/help/pycharm/requirements-installation-and-launching.html#linux的说明下载了PyCharm Professional
在尝试启动pycharm(. pycharm.sh
)时,我收到了此帖子主题中的错误。
我按照https://intellij-support.jetbrains.com/hc/en-us/articles/206544869-Configuring-JVM-options-and-platform-properties的说明手动创建了vmoptions文件,但我收到了同样的错误。我已尝试使用vmoptions文件名称的每个可能变体:
仍然发生同样的错误。
这是终端中显示的内容:
$ ll *.vmo*
-rw-r--r--. 1 root root 329 Jul 29 15:48 pycharm64.exe.vmoptions
-rw-r--r--. 1 root root 329 Jul 29 16:09 pycharm64.vmoptions
-rw-r--r--. 1 root root 337 Jul 29 15:51 pycharm.exe.vmoptions
-rw-r--r--. 1 root root 337 Jul 29 16:09 pycharm.vmoptions
$ . pycharm.sh
bash: alias egrep='egrep --color=auto'
/usr/bin/egrep: No such file or directory
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
有关如何诊断的建议吗?我应该指出我有点像一个Linux菜鸟,所以可能需要一个众所周知的白痴指导来修复它。
答案 0 :(得分:3)
使用./pycharm.sh
代替. pycharm.sh
,因为.
与source
相同。