{"action":"created","issue":{"url":"https://api.github.com/repos/plotly/python-api/issues/197","labels_url":"https://api.github.com/repos/plotly/python-api/issues/197/labels{/name}","comments_url":"https://api.github.com/repos/plotly/python-api/issues/197/comments","events_url":"https://api.github.com/repos/plotly/python-api/issues/197/events","html_url":"https://github.com/plotly/python-api/issues/197","id":59155574,"number":197,"title":"Installing simplejson kills pip on anaconda","user":{"login":"scjody","id":1136329,"avatar_url":"https://avatars.githubusercontent.com/u/1136329?v=3","gravatar_id":"","url":"https://api.github.com/users/scjody","html_url":"https://github.com/scjody","followers_url":"https://api.github.com/users/scjody/followers","following_url":"https://api.github.com/users/scjody/following{/other_user}","gists_url":"https://api.github.com/users/scjody/gists{/gist_id}","starred_url":"https://api.github.com/users/scjody/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scjody/subscriptions","organizations_url":"https://api.github.com/users/scjody/orgs","repos_url":"https://api.github.com/users/scjody/repos","events_url":"https://api.github.com/users/scjody/events{/privacy}","received_events_url":"https://api.github.com/users/scjody/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-26T22:33:47Z","updated_at":"2015-02-26T22:52:47Z","closed_at":null,"body":"@theengineear, from: http://stackoverflow.com/questions/28751216/plotly-killed-my-python-install?nah=1#28754036\r\n\r\nPython 3.4 on Windows via Anaconda 2.1.0: installing simplejson (which is pulled in by Plotly's requirements.txt) kills pip:\r\n```\r\nTraceback (most recent call last):\r\n  File \"C:\\Anaconda3\\Scripts\\pip-script.py\", line 3, in <module>\r\n    from pip import main\r\n  File \"C:\\Anaconda3\\lib\\site-packages\\pip\\__init__.py\", line 11, in <module>\r\n    from pip.vcs import git, mercurial, subversion, bazaar  # noqa\r\n  File \"C:\\Anaconda3\\lib\\site-packages\\pip\\vcs\\mercurial.py\", line 9, in <module>\r\n    from pip.download import path_to_url\r\n  File \"C:\\Anaconda3\\lib\\site-packages\\pip\\download.py\", line 22, in <module>\r\n    from pip._vendor import requests, six\r\n  File \"C:\\Anaconda3\\lib\\site-packages\\pip\\_vendor\\requests\\__init__.py\", line 58, in <module>\r\n    from . import utils\r\n  File \"C:\\Anaconda3\\lib\\site-packages\\pip\\_vendor\\requests\\utils.py\", line 25, in <module>\r\n    from .compat import parse_http_list as _parse_list_header\r\n  File \"C:\\Anaconda3\\lib\\site-packages\\pip\\_vendor\\requests\\compat.py\", line 77, in <module>\r\n    import simplejson as json\r\n  File \"C:\\Anaconda3\\lib\\site-packages\\simplejson\\__init__.py\", line 112, in <module>\r\n    from .scanner import JSONDecodeError\r\n  File \"C:\\Anaconda3\\lib\\site-packages\\simplejson\\scanner.py\", line 10, in <module>\r\n    c_make_scanner = _import_c_make_scanner()\r\n  File \"C:\\Anaconda3\\lib\\site-packages\\simplejson\\scanner.py\", line 6, in _import_c_make_scanner\r\n    from simplejson._speedups import make_scanner\r\nUnicodeDecodeError: 'utf-8' codec can't decode byte 0x83 in position 4: invalid start byte\r\n```\r\n\r\nCan we *not* install simplejson unless it's really needed (Python 2.6 systems)?  Or is there another way we can work around this Anaconda issue?  (Logged for Anaconda as: https://github.com/ContinuumIO/anaconda-issues/issues/238 )\r\n"},"comment":{"url":"https://api.github.com/repos/plotly/python-api/issues/comments/76292850","html_url":"https://github.com/plotly/python-api/issues/197#issuecomment-76292850","issue_url":"https://api.github.com/repos/plotly/python-api/issues/197","id":76292850,"user":{"login":"theengineear","id":6611546,"avatar_url":"https://avatars.githubusercontent.com/u/6611546?v=3","gravatar_id":"","url":"https://api.github.com/users/theengineear","html_url":"https://github.com/theengineear","followers_url":"https://api.github.com/users/theengineear/followers","following_url":"https://api.github.com/users/theengineear/following{/other_user}","gists_url":"https://api.github.com/users/theengineear/gists{/gist_id}","starred_url":"https://api.github.com/users/theengineear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theengineear/subscriptions","organizations_url":"https://api.github.com/users/theengineear/orgs","repos_url":"https://api.github.com/users/theengineear/repos","events_url":"https://api.github.com/users/theengineear/events{/privacy}","received_events_url":"https://api.github.com/users/theengineear/received_events","type":"User","site_admin":false},"created_at":"2015-02-26T22:52:47Z","updated_at":"2015-02-26T22:52:47Z","body":"Ah, bummer. Yeah, we wanted to unify the install process. Do you know of a way to have pip optionally install something depending on the python version?"}}