我有一个使用PhantomJS的Python脚本。当我直接运行脚本时,它运行得非常好。当我在cron作业中运行它时,我得到:
selenium.common.exceptions.WebDriverException:
Message: Unable to start phantomjs with ghostdriver:
[Errno 2] No such file or directory: 'phantomjs'
有什么办法解决这个问题吗?在
哦,顺便说一句,其他的驱动程序(比如Firefox)即使在cron作业中也能工作;只是幻影js不起作用。在
目前没有回答
相关问题 更多 >
编程相关推荐