phantomjs的安装

第一步:

在官网 http://phantomjs.org/download.html 上下载对应的包

第二步:

解压到指定文件夹,找到phantomjs.exe,并复制



第三步:在命令窗口敲命令where python,找到python.exe所在文件夹



第四步:

将复制的phantomjs.exe和python.exe放在同一目录下



第五步:

打开命令窗口继续敲命令pyspider all, 启动pyspider的所有组件



phantomjs也成功启动

第六步:

访问localhost:5000



猜你喜欢

转载自blog.csdn.net/qq_42336560/article/details/80696390