闲话不说,贴具体问题。今天本来打算安装calibre-2.54.0,下载了以后发现是.tar.xz的文件,安装时总是不成功,提示貌似是要pkg-config。下载pkg-config后安装,又不停的出错。无奈找寻其他方法,据说是可以安装PyQt。so.安装了PyQt。继续执行calibre-2.54.0文件夹里面的INSTALL文件提示的安装方法:sudo python setup.py install 就出现了如下的错误,网上面翻了一个下午,也看不出个头绪来。真心的希望大神能帮帮忙。[code]Traceback (most recent call last):
File "setup.py", line 13, in
import setup.commands as commands
File "/home/li/下载/calibre-2.54.0/setup/commands.py", line 28, in
from setup.translations import POT, GetTranslations, Translations, ISO639, ISO3166
File "/home/li/下载/calibre-2.54.0/setup/translations.py", line 15, in
from setup.parallel_build import parallel_check_output
File "/home/li/下载/calibre-2.54.0/setup/parallel_build.py", line 14, in
from setup.build_environment import cpu_count
File "/home/li/下载/calibre-2.54.0/setup/build_environment.py", line 98, in
from PyQt5.QtCore import PYQT_CONFIGURATION
ImportError: No module named PyQt5.QtCore
[/code]