The installation procedure using Mac ports is
port install phantomjs
port install py27-selenium
It will be. (Run with sudo)
But with this,
from selenium.webdriver import phantomjs
I can't call it with. The selenium webdriver doesn't seem to find phantomjs.
However, you need to let pip install selenium.
pip install selenium
I wonder what this trap is. .. ..
Recommended Posts