Running phantomjs on linux using python
问题 I followed this link and now when I type phan and then tab ( \t ) it does autocomplete to phantomJS. Yet if I run phantomJS -v or phantomJS --version I get: bash: /usr/local/bin/phantomjs: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory Additionally if I try to run: >>> from selenium import webdriver >>> driver = webdriver.PhantomJS() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python2.7/site-packages/selenium/webdriver