Selenium的运行环境和python3兼容不好,一开始使用python3.1,用Selenium生成的python脚本运行总是报 from selenium import selenium 错误,后来换成python2.7版本,问题直接解决。