PyCharm在Ubuntu上冻结整个计算机 [英] PyCharm freezing whole computer on Ubuntu

查看:95
本文介绍了PyCharm在Ubuntu上冻结整个计算机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在Ubunto 15.10上运行带有JDK 8的PyCharm 5.问题是Ubuntu带有3个不同的Python版本,当系统提示我在PyCharm中选择正确的解释器版本时,整个计算机都将冻结. 有人看到过类似的东西吗?

I am running PyCharm 5 with JDK 8 on a Ubunto 15.10. The problem is that Ubuntu comes with 3 different Python versions and when I am prompted to select the correct interpreter version in PyCharm the whole computer simply freezes. Has anyone seen something similar?

推荐答案

要回答这个问题:是的,但行为完全相同,但使用的是OpenJDK 7和OpenJDK 8.例如,可以通过SSH来访问计算机,因此您可以杀死PyCharm Java进程.我无法进行进一步的研究(取而代之的是,我回到了旧机器OS X,在该机器上PyCharm与Java解释器捆绑在一起.)

To answer the question: yes, exactly the same behaviour but with OpenJDK 7 and OpenJDK 8. It freezes the UI; the computer can be accessed eg via SSH so you can kill the PyCharm Java process. I have not been able to investigate further (instead I went back to my old machine, OS X, on which PyCharm is bundled with a Java interpreter).

使用解决方法进行在设置"中更改UI主题.在设置"对话框的外观和外观"下,行为>外观将主题从"GTK +"更改为"Intellij".我保存了此更改,重新启动了PyCharm,但没有看到死机.有关Ubuntu Launchpad和bugs.debian.org的错误报告建议了GTK +和OpenJDK的问题,例如:

EDIT with workaround: change the UI Theme in the Settings. In the Settings dialog, under Appearance & Behaviour > Appearance change Theme from 'GTK+' to 'Intellij'. I saved this change, restarted PyCharm, and I am not seeing the freeze. Bug reports on Ubuntu Launchpad and bugs.debian.org suggest problems with GTK+ and OpenJDK, for example:

https://bugs.launchpad.net/ubuntu /+ source/openjdk-8/+ bug/1510009

https://bugs.debian.org/cgi-bin /bugreport.cgi?bug=798131

这篇关于PyCharm在Ubuntu上冻结整个计算机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆