PhantomJS unexpectedly exits on Selenium : WebDriverException with status code 127

后端 未结 1 1872
面向向阳花
面向向阳花 2021-01-05 18:09

I am using a global PhantomJS on my Mac OS X for multiple Javascript and Python selenium projects. For the first time, I set up a virtual environnement using virtualenv :

相关标签:
1条回答
  • 2021-01-05 18:32

    I guess its too late, but for future reference I've solved this issue by:

    sudo apt-get install libfontconfig
    

    The answer was found here:

    Trouble connecting to phantomJs webdriver using python and selenium

    0 讨论(0)
提交回复
热议问题