無法在 Ubuntu 64位元 14.04LTS 上運行 Nightrain 請幫忙

無法在 Ubuntu 64位元 14.04LTS 上運行 Nightrain 請幫忙
$ ./nightrain
Traceback (most recent call last):
  File "<string>", line 7, in <module>
  File "/home/naetech/Applications/Repositories/pyinstaller/PyInstaller/loader/pyi_importers.py", line 270, in load_module
  File "/home/naetech/Sites/nightrain/build/nightrain/out00-PYZ.pyz/Classes.GUI", line 7, in <module>
  File "/home/naetech/Applications/Repositories/pyinstaller/PyInstaller/loader/pyi_importers.py", line 270, in load_module
  File "/home/naetech/Sites/nightrain/build/nightrain/out00-PYZ.pyz/wx.html2", line 8, in <module>
  File "/home/naetech/Applications/Repositories/pyinstaller/PyInstaller/loader/pyi_importers.py", line 414, in load_module
ImportError: libGL.so.1: cannot open shared object file: No such file or directory

答案1

該庫libGL.so.1是以下軟體包的一部分,由命令列出apt-file search --regex libGL\.so\.1$ | awk -F: '{print $1}'

fglrx
fglrx-updates
libgl1-mesa-glx
nvidia-304
nvidia-304-updates
nvidia-340
nvidia-340-updates
nvidia-346
nvidia-346-updates
primus-libs

因此,如果您有 AMD GPU:

sudo apt-get install fglrx fglrx-updates

對於 NVidia,更好看這裡

相關內容