系统是ubuntu14的
用sudo apt-get install phantomjs
会出现:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
phantomjs : Depends: libqtgui4 (>= 4:4.5.3) but it is not going to be installed
Depends: libqtwebkit4 (>= 2.2~2011week36) but it is not installable
E: Unable to correct problems, you have held broken packages.
意思我大概也清楚,就是源找不到,但是问题我更想了源 也不行,有没有另外的方法,比如直接下载解压安装的这种?
我一直以为这是个npm包的。。你试试用npm全局装下。。
http://stackoverflow.com/ques...