Traceback (most recent call last):
File "quickstart.py", line 5, in <module>
from selenium.common.exceptions import NoSuchElementException
ImportError: No module named selenium.common.exceptions
File "quickstart.py", line 5, in <module>
from selenium.common.exceptions import NoSuchElementException
ImportError: No module named selenium.common.exceptions
이런 에러가 뜨는 경우가 있다.
이 에러의 경우 selenium의 모듈에 대한 문제이다.
따라서, 아래 명령어를 통해 최신버전으로 재설치하자.
python -m pip install -U selenium
참고로, root 권한으로 접속하여 하는것을 추천한다.
'Linux > Ubuntu' 카테고리의 다른 글
[Python] ImportError: No module named 'selenium' (0) | 2018.07.12 |
---|---|
[Python] ImportError: No module named pyvirtualdisplay (0) | 2018.07.12 |
[Python] ensure chromedriver is installed at /home/pc/InstaPy/assets/chromedriver (0) | 2018.07.12 |
[쉘 스크립트] 리눅스 환경 이메일 자동 생성 스크립트 (0) | 2018.04.18 |
[Ubuntu 16.05LTS] vnc 설치 방법 (0) | 2018.04.18 |