{"action":"created","issue":{"url":"https://api.github.com/repos/pypa/pip/issues/3193","labels_url":"https://api.github.com/repos/pypa/pip/issues/3193/labels{/name}","comments_url":"https://api.github.com/repos/pypa/pip/issues/3193/comments","events_url":"https://api.github.com/repos/pypa/pip/issues/3193/events","html_url":"https://github.com/pypa/pip/issues/3193","id":111952210,"number":3193,"title":"Pip AttributeError","user":{"login":"Aarushi-Ign","id":1382490,"avatar_url":"https://avatars.githubusercontent.com/u/1382490?v=3","gravatar_id":"","url":"https://api.github.com/users/Aarushi-Ign","html_url":"https://github.com/Aarushi-Ign","followers_url":"https://api.github.com/users/Aarushi-Ign/followers","following_url":"https://api.github.com/users/Aarushi-Ign/following{/other_user}","gists_url":"https://api.github.com/users/Aarushi-Ign/gists{/gist_id}","starred_url":"https://api.github.com/users/Aarushi-Ign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aarushi-Ign/subscriptions","organizations_url":"https://api.github.com/users/Aarushi-Ign/orgs","repos_url":"https://api.github.com/users/Aarushi-Ign/repos","events_url":"https://api.github.com/users/Aarushi-Ign/events{/privacy}","received_events_url":"https://api.github.com/users/Aarushi-Ign/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-10-17T09:15:27Z","updated_at":"2015-10-17T13:29:32Z","closed_at":null,"body":"pip -h works but whenever i try installing a module like pip install xyz, this happens:\r\n\r\nTraceback (most recent call last):\r\nFile \"C:\\Python27\\Scripts\\pip-script.py\", line 9, in \r\nload_entry_point('pip==7.1.2', 'console_scripts', 'pip')()\r\nFile \"C:\\Python27\\lib\\site-packages\\pip-7.1.2-py2.7.egg\\pip__init__.py\", line 217, in main\r\nreturn command.main(cmd_args)\r\nFile \"C:\\Python27\\lib\\site-packages\\pip-7.1.2-py2.7.egg\\pip\\basecommand.py\", line 182, in main\r\nfor name in [\"pip._vendor\", \"distlib\", \"requests\", \"urllib3\"]\r\nFile \"C:\\Python27\\lib\\site-packages\\pip-7.1.2-py2.7.egg\\pip\\compat\\dictconfig.py\", line 565, in dictConfig\r\ndictConfigClass(config).configure()\r\nFile \"C:\\Python27\\lib\\site-packages\\pip-7.1.2-py2.7.egg\\pip\\compat\\dictconfig.py\", line 332, in configure\r\ndel logging._handlerList[:]\r\nAttributeError: 'module' object has no attribute '_handlerList'\r\n\r\nWhy is this happening and any solutions?"},"comment":{"url":"https://api.github.com/repos/pypa/pip/issues/comments/148916170","html_url":"https://github.com/pypa/pip/issues/3193#issuecomment-148916170","issue_url":"https://api.github.com/repos/pypa/pip/issues/3193","id":148916170,"user":{"login":"pfmoore","id":1110419,"avatar_url":"https://avatars.githubusercontent.com/u/1110419?v=3","gravatar_id":"","url":"https://api.github.com/users/pfmoore","html_url":"https://github.com/pfmoore","followers_url":"https://api.github.com/users/pfmoore/followers","following_url":"https://api.github.com/users/pfmoore/following{/other_user}","gists_url":"https://api.github.com/users/pfmoore/gists{/gist_id}","starred_url":"https://api.github.com/users/pfmoore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfmoore/subscriptions","organizations_url":"https://api.github.com/users/pfmoore/orgs","repos_url":"https://api.github.com/users/pfmoore/repos","events_url":"https://api.github.com/users/pfmoore/events{/privacy}","received_events_url":"https://api.github.com/users/pfmoore/received_events","type":"User","site_admin":false},"created_at":"2015-10-17T13:29:32Z","updated_at":"2015-10-17T13:29:32Z","body":"@Aarushi-Ign You shouldn't have *any* logging-0.4.9.6, or easy_install logging. The logging module is part of the standard library. What seems to be happening is that your 3rd-party logging module is overriding the stdlib version (that's a fault of easy_install, which puts 3rd party modules *ahead* of the standard library in PYTHONPATH).\r\n\r\nTry uninstalling all 3rd party logging modules, and that should fix your issue."}}