Пьітаюсь установить pip install python-twitter.
B вот что получаю что пакети берет под 3-ю версию которая тоже установленна как изменить использование по дефолту для 2.7 ?
blast@dell:~$ sudo pip install python-twitter
Traceback (most recent call last):
File "/usr/local/bin/pip", line 7, in
from pip import main
File "/usr/local/lib/python3.2/dist-packages/pip/__init__.py", line 11, in
from pip.vcs import git, mercurial, subversion, bazaar # noqa
File "/usr/local/lib/python3.2/dist-packages/pip/vcs/mercurial.py", line 9, in
from pip.download import path_to_url
File "/usr/local/lib/python3.2/dist-packages/pip/download.py", line 22, in
from pip._vendor import requests, six
File "/usr/local/lib/python3.2/dist-packages/pip/_vendor/requests/__init__.py", line 58, in
from . import utils
File "/usr/local/lib/python3.2/dist-packages/pip/_vendor/requests/utils.py", line 25, in
from .compat import parse_http_list as _parse_list_header
File "/usr/local/lib/python3.2/dist-packages/pip/_vendor/requests/compat.py", line 77, in
import simplejson as json
File "/usr/local/lib/python3.2/dist-packages/simplejson/__init__.py", line 114, in
from .encoder import JSONEncoder, JSONEncoderForHTML
File "/usr/local/lib/python3.2/dist-packages/simplejson/encoder.py", line 21
ESCAPE = re.compile(u'[\\x00-\\x1f\\\\"\\b\\f\\n\\r\\t\u2028\u2029]')