我是ubuntu新手,請原諒我的任何邏輯評論。
嘗試載入時.pdb文件在 pymol 中,我會得到系統崩潰報告:
ProblemType: Crash
Architecture: amd64
CrashCounter: 1
CurrentDesktop: Unity
DistroRelease: Ubuntu 14.04
ExecutablePath: /usr/bin/python2.7
ExecutableTimestamp: 1434999065
ProcCmdline: python2.7 -m pymol.__init__
ProcCwd: /home/administrator
ProcEnviron:
LANGUAGE=en_SG:en
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_SG.UTF-8
SHELL=/bin/bash
我嘗試了一些方法,例如安裝nvidia驅動程式;升級到最新核心;重新安裝 python2.7 和 pymol。但我似乎無法解決這個問題。
這些是我的系統資訊:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.4 LTS
Release: 14.04
Codename: trusty
$ uname -r
3.13.0-86-generic
$ lsmod | grep nouv
nouveau 1097288 3
mxm_wmi 13021 1 nouveau
wmi 19177 2 mxm_wmi,nouveau
video 19476 1 nouveau
ttm 93424 1 nouveau
drm_kms_helper 55071 1 nouveau
drm 303102 5 ttm,drm_kms_helper,nouveau
i2c_algo_bit 13413 1 nouveau
$ dpkg -la | grep python2.7
libpython2.7:amd64 2.7.6-8ubuntu0.2 amd64 Shared Python runtime library (version 2.7)
libpython2.7-minimal:amd64 2.7.6-8ubuntu0.2 amd64 Minimal subset of the Python language (version 2.7)
libpython2.7-stdlib:amd64 2.7.6-8ubuntu0.2 amd64 Interactive high-level object-oriented language (standard library, version 2.7)
python2.7 2.7.6-8ubuntu0.2 amd64 Interactive high-level object-oriented language (version 2.7)
python2.7-minimal 2.7.6-8ubuntu0.2 amd64 Minimal subset of the Python language (version 2.7)
pymol 1.7.0.0-1 amd64 Molecular Graphics System
請指教。謝謝。
答案1
在我將 nvidia 驅動程式恢復到舊版本 304.131 後,Pymol 開始正常工作,沒有 python 崩潰。透過 Ubuntu 儲存庫安裝:
sudo apt-get install nvidia-current
You can also specific a version to install, e.g.
sudo apt-get install nvidia-331
sudo apt-get install nvidia-340
希望這些有幫助。