ImportError: No module named 'selenium'

后端 未结 18 2224
时光取名叫无心
时光取名叫无心 2020-12-03 00:54

I\'m trying to write a script to check a website. It\'s the first time I\'m using selenium. I\'m trying to run the script on a OSX system. Although I checked in /Library/Pyt

18条回答
  •  离开以前
    2020-12-03 01:09

    first you should be sure that selenium is installed in your system.

    then install pycharm https://itsfoss.com/install-pycharm-ubuntu/

    now if an of packages are not installed it will show red underlines. click on it and install from pycharm.

    like for this case click on selenium option in import statement, there you would getting some options. click on install selenium. it will install and automatically run the code successfully if all your drivers are placed in proper directories.

提交回复
热议问题