Installing Selenium and PhantomJS for Python 3 on Ubuntu 14.04

来源:互联网 发布:java transaction 编辑:程序博客网 时间:2024/06/05 05:31
Thee below commands were mostly taken from this answer on StackOverflow, and assume you're running them with elevated permissions (e.g. withsudo):
apt-get install nodejs-legacyapt-get install npmnpm -g install phantomjspip3 install selenium
apt-get install libfontconfig
 
Why install nodejs-legacy? I saw this error without it.

That's it! Now you can start writing Python code.


原文

原创粉丝点击