无法启动PyCharm无法找到VM选项文件(Pycharm Professional 2017.2)

时间:2017-07-29 15:13:39

标签: pycharm

我已根据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文件名称的每个可能变体:

  • pycharm.vmoptions
  • pycharm64.vmoptions
  • pycharm.exe.vmoptions
  • pycharm64.exe.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.

这是带有错误信息的对话框:
enter image description here

有关如何诊断的建议吗?我应该指出我有点像一个Linux菜鸟,所以可能需要一个众所周知的白痴指导来修复它。

1 个答案:

答案 0 :(得分:3)

使用./pycharm.sh代替. pycharm.sh,因为.source相同。