1 安装

从下方链接中下载phantomjs-2.1.1-windows.zip

  • 链接:http://phantomjs.org/download.html

  • 解压到某个文件夹下

2 添加路径

将…\phantomjs-2.1.1-windows\phantomjs-2.1.1-windows\bin文件的路径添加到系统变量PATH中
Python解决:Message: 'phantomjs' executable needs to be in PATH.

3 拷贝到Python安装目录

把phantomjs.exe拷贝放到python的安装目录下
Python解决:Message: 'phantomjs' executable needs to be in PATH.

相关文章:

  • 2021-04-28
  • 2021-05-16
  • 2021-04-22
  • 2021-10-03
  • 2021-09-07
  • 2022-12-23
猜你喜欢
  • 2021-04-17
  • 2021-06-15
  • 2022-01-10
  • 2021-11-24
  • 2021-05-20
  • 2022-12-23
相关资源
相似解决方案