0
트위터 모듈로 파이썬 프로그램을 실행하려고합니다. 내가 통해 트위터와 JSON 패키지를 설치 : 나는 모두 파이썬 2와 파이썬 3 버전에서 오류가있어 프로그램을 실행하는 동안ImportError : No twicks module - MacOS Sierra
pip install twitter
pip install simplejson
.
내 코드 :
try:
import json
except ImportError:
import simplejson as json
import twitter
from twitter import Twitter, OAuth, TwitterHTTPError, TwitterStream
오류 :
Traceback (most recent call last):
File "Untitled.py", line 5, in <module>
import twitter
ImportError: No module named 'twitter'