PyCharm 中的 Python 错误消息 : Unable to attach to shared memory segment

标签 python ubuntu

我开始在 Ubuntu 15.04 中使用 PyCharm 和 Python 2.7 编写代码。同时,我安装了 Ubuntu 15.10 和 PyCharm 4.5.4 CE。现在,当我运行我的代码时,出现此错误:

QNativeImage: Unable to attach to shared memory segment. 

(python2.7:8078): Gdk-WARNING **: shmget failed: error 28 (No space left on device)
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x0

虽然我每次运行代码时都不会发生这种情况。会是什么?

最佳答案

我在旧的 Openjdk 包中遇到了这个错误。在 sudo apt-get update 和 upgrade 之后这个错误消失了。

关于PyCharm 中的 Python 错误消息 : Unable to attach to shared memory segment,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33469060/

相关文章:

python - 用 numpy 重复排列

python - 无法在 Ubuntu 上安装 PyArrow

mysql - 如何在Linux环境中禁用区分大小写

python - 如何使用python将下载的图像保存在ubuntu中的特定目录中

linux - shell 使用正则表达式命令替换命令

python - 将小部件放在窗口上(使用 tkinter)

python - 如何将字节转换为字符串,Python

python - 使用 Beam IO ReadFromPubSub 模块时,可以在 Python 中拉取带有属性的消息吗?不清楚是否支持

python - 增加数组大小并将新元素初始化为零

python - 将函数重写为类