安装phantomjs后输入phantomjs --v提示:-bash:phantomjs:command not found
centos,按照网上的教程:
sudo yum install gcc gcc-c++ make git openssl-devel freetype-devel fontconfig-devel
git clone git://github.com/ariya/phantomjs.git
cd phantomjs
git checkout 1.9
./build.sh
安装了一个多小时完成后输入phantomjs --v,显示-bash:phantomjs:command not found,请问该怎么办?
每逢寂寞倍思春
10 years, 10 months ago