ImportError: No module named 'selenium'

后端 未结 18 2292
时光取名叫无心
时光取名叫无心 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 00:59

    It's 2020 now, use python3 consistently

    • pip3 install selenium
    • python3 xxx.py

    I meet the same problem when I install selenium using pip3, but run scripts using python.

提交回复
热议问题