분류 전체보기
- 블로그 이동 2022.04.10
- [Python] No module named fake_useragent 2018.07.23 1
- [Python] python3.6 and pip3.6 installation 2018.07.12
- [Python] ImportError: No module named 'emoji' 2018.07.12
- [Python] ImportError: No module named 'clarifai' 2018.07.12
- [Python] ImportError: No module named 'selenium' 2018.07.12
- [Python] ImportError: No module named pyvirtualdisplay 2018.07.12
- [Python] ImportError: No module named selenium.common.exceptions 2018.07.12
- [Python] ensure chromedriver is installed at /home/pc/InstaPy/assets/chromedriver 2018.07.12
- [면접] 신입 IT 개발자 1분 자기소개 하는 방법 5단계 2018.07.10 4
블로그 이동
[Python] No module named fake_useragent
Traceback (most recent call last):
File "example.py", line 6, in <module>
from src import InstaBot
File "/home/pc/yrcha/instagram/instabot.py/src/__init__.py", line 1, in <module>
from .instabot import InstaBot
File "/home/pc/yrcha/instagram/instabot.py/src/instabot.py", line 22, in <module>
from fake_useragent import UserAgent
ImportError: No module named fake_useragent
'Linux > Ubuntu' 카테고리의 다른 글
[Python] python3.6 and pip3.6 installation (0) | 2018.07.12 |
---|---|
[Python] ImportError: No module named 'emoji' (0) | 2018.07.12 |
[Python] ImportError: No module named 'clarifai' (0) | 2018.07.12 |
[Python] ImportError: No module named 'selenium' (0) | 2018.07.12 |
[Python] ImportError: No module named pyvirtualdisplay (0) | 2018.07.12 |
[Python] python3.6 and pip3.6 installation
python3.6:
Ubuntu 14.04 and 16.04
sudo add-apt-repository ppa:deadsnakes/ppa |
or
sudo add-apt-repository ppa:jonathonf/python-3.6 |
Ubuntu 16.10 and 17.04
sudo apt-get update |
pip3:
python3.6 -m pip install --upgrade pip setuptools wheel
'Linux > Ubuntu' 카테고리의 다른 글
[Python] No module named fake_useragent (1) | 2018.07.23 |
---|---|
[Python] ImportError: No module named 'emoji' (0) | 2018.07.12 |
[Python] ImportError: No module named 'clarifai' (0) | 2018.07.12 |
[Python] ImportError: No module named 'selenium' (0) | 2018.07.12 |
[Python] ImportError: No module named pyvirtualdisplay (0) | 2018.07.12 |
[Python] ImportError: No module named 'emoji'
File "quickstart.py", line 7, in <module>
from instapy import InstaPy
File "/home/pc/InstaPy/instapy/__init__.py", line 2, in <module>
from .instapy import InstaPy
File "/home/pc/InstaPy/instapy/instapy.py", line 22, in <module>
from .comment_util import comment_image
File "/home/pc/InstaPy/instapy/comment_util.py", line 11, in <module>
import emoji
ImportError: No module named 'emoji'
python2:
sudo pip install emoji
python3:
sudo pip3 install emoji
'Linux > Ubuntu' 카테고리의 다른 글
[Python] No module named fake_useragent (1) | 2018.07.23 |
---|---|
[Python] python3.6 and pip3.6 installation (0) | 2018.07.12 |
[Python] ImportError: No module named 'clarifai' (0) | 2018.07.12 |
[Python] ImportError: No module named 'selenium' (0) | 2018.07.12 |
[Python] ImportError: No module named pyvirtualdisplay (0) | 2018.07.12 |
[Python] ImportError: No module named 'clarifai'
Traceback (most recent call last):
File "quickstart.py", line 7, in <module>
from instapy import InstaPy
File "/home/pc/InstaPy/instapy/__init__.py", line 2, in <module>
from .instapy import InstaPy
File "/home/pc/InstaPy/instapy/instapy.py", line 21, in <module>
from .clarifai_util import check_image
File "/home/pc/InstaPy/instapy/clarifai_util.py", line 3, in <module>
from clarifai.rest import ClarifaiApp, Image as ClImage
ImportError: No module named 'clarifai'
Python2:
sudo pip install clarifai
Python3:
sudo pip3 install clarifai
'Linux > Ubuntu' 카테고리의 다른 글
[Python] python3.6 and pip3.6 installation (0) | 2018.07.12 |
---|---|
[Python] ImportError: No module named 'emoji' (0) | 2018.07.12 |
[Python] ImportError: No module named 'selenium' (0) | 2018.07.12 |
[Python] ImportError: No module named pyvirtualdisplay (0) | 2018.07.12 |
[Python] ImportError: No module named selenium.common.exceptions (0) | 2018.07.12 |
[Python] ImportError: No module named 'selenium'
File "quickstart.py", line 5, in <module>
from selenium.common.exceptions import NoSuchElementException
ImportError: No module named 'selenium'
Python2:
sudo pip install selenium
Python3:
sudo pip3 install selenium
'Linux > Ubuntu' 카테고리의 다른 글
[Python] ImportError: No module named 'emoji' (0) | 2018.07.12 |
---|---|
[Python] ImportError: No module named 'clarifai' (0) | 2018.07.12 |
[Python] ImportError: No module named pyvirtualdisplay (0) | 2018.07.12 |
[Python] ImportError: No module named selenium.common.exceptions (0) | 2018.07.12 |
[Python] ensure chromedriver is installed at /home/pc/InstaPy/assets/chromedriver (0) | 2018.07.12 |
[Python] ImportError: No module named pyvirtualdisplay
Traceback (most recent call last):
File "quickstart.py", line 7, in <module>
from instapy import InstaPy
File "/home/pc/InstaPy/instapy/__init__.py", line 2, in <module>
from .instapy import InstaPy
File "/home/pc/InstaPy/instapy/instapy.py", line 13, in <module>
from pyvirtualdisplay import Display
ImportError: No module named pyvirtualdisplay
Python2:
sudo pip install pyvirtualdisplay
Python3:
sudo pip3 install pyvirtualdisplay
'Linux > Ubuntu' 카테고리의 다른 글
[Python] ImportError: No module named 'clarifai' (0) | 2018.07.12 |
---|---|
[Python] ImportError: No module named 'selenium' (0) | 2018.07.12 |
[Python] ImportError: No module named selenium.common.exceptions (0) | 2018.07.12 |
[Python] ensure chromedriver is installed at /home/pc/InstaPy/assets/chromedriver (0) | 2018.07.12 |
[쉘 스크립트] 리눅스 환경 이메일 자동 생성 스크립트 (0) | 2018.04.18 |
[Python] 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 |
[Python] ensure chromedriver is installed at /home/pc/InstaPy/assets/chromedriver
ensure chromedriver is installed at /home/pc/InstaPy/assets/chromedriver 에러 발생 대처 방법
본 에러는 크롬드라이버 설치에 대한 문제이다.
https://sites.google.com/a/chromium.org/chromedriver/downloads 사이트에 들어가서 자신의 OS와 아키텍처에 적합한 크롬드라이버를 다운받고
지정한 경로(PATH)에 둬야한다.
즉, 경로 또는 크롬드라이버 설치 파일의 문제이다.
'Linux > Ubuntu' 카테고리의 다른 글
[Python] ImportError: No module named pyvirtualdisplay (0) | 2018.07.12 |
---|---|
[Python] ImportError: No module named selenium.common.exceptions (0) | 2018.07.12 |
[쉘 스크립트] 리눅스 환경 이메일 자동 생성 스크립트 (0) | 2018.04.18 |
[Ubuntu 16.05LTS] vnc 설치 방법 (0) | 2018.04.18 |
Ubuntu 14.05LTS GitLab 설치 방법 (0) | 2016.11.30 |