{"action":"created","issue":{"url":"https://api.github.com/repos/letsencrypt/letsencrypt/issues/2108","labels_url":"https://api.github.com/repos/letsencrypt/letsencrypt/issues/2108/labels{/name}","comments_url":"https://api.github.com/repos/letsencrypt/letsencrypt/issues/2108/comments","events_url":"https://api.github.com/repos/letsencrypt/letsencrypt/issues/2108/events","html_url":"https://github.com/letsencrypt/letsencrypt/issues/2108","id":125414227,"number":2108,"title":"ImportError: No module named urllib3","user":{"login":"edvinas91","id":2933590,"avatar_url":"https://avatars.githubusercontent.com/u/2933590?v=3","gravatar_id":"","url":"https://api.github.com/users/edvinas91","html_url":"https://github.com/edvinas91","followers_url":"https://api.github.com/users/edvinas91/followers","following_url":"https://api.github.com/users/edvinas91/following{/other_user}","gists_url":"https://api.github.com/users/edvinas91/gists{/gist_id}","starred_url":"https://api.github.com/users/edvinas91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edvinas91/subscriptions","organizations_url":"https://api.github.com/users/edvinas91/orgs","repos_url":"https://api.github.com/users/edvinas91/repos","events_url":"https://api.github.com/users/edvinas91/events{/privacy}","received_events_url":"https://api.github.com/users/edvinas91/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/letsencrypt/letsencrypt/labels/letsencrypt-auto","name":"letsencrypt-auto","color":"00a080"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-07T15:23:39Z","updated_at":"2016-01-08T08:29:49Z","closed_at":null,"body":"Hi,\r\n\r\nI'm trying to run the auto script after cloning letsencrypt to a new folder and here's what happens (All commands are executed by root):\r\n\r\n```\r\n./letsencrypt-auto --help\r\nUpdating letsencrypt and virtual environment dependencies......\r\nRequesting root privileges to run with virtualenv: /root/.local/share/letsencrypt/bin/letsencrypt --help\r\nTraceback (most recent call last):\r\n  File \"/root/.local/share/letsencrypt/bin/letsencrypt\", line 7, in <module>\r\n    from letsencrypt.cli import main\r\n  File \"/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/cli.py\", line 26, in <module>\r\n    from letsencrypt import account\r\n  File \"/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/account.py\", line 15, in <module>\r\n    from acme import messages\r\n  File \"/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/acme/messages.py\", line 4, in <module>\r\n    from acme import challenges\r\n  File \"/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/acme/challenges.py\", line 10, in <module>\r\n    import requests\r\n  File \"/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/requests/__init__.py\", line 58, in <module>\r\n    from . import utils\r\n  File \"/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/requests/utils.py\", line 26, in <module>\r\n    from .compat import parse_http_list as _parse_list_header\r\n  File \"/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/requests/compat.py\", line 7, in <module>\r\n    from .packages import chardet\r\n  File \"/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/requests/packages/__init__.py\", line 29, in <module>\r\n    import urllib3\r\nImportError: No module named urllib3\r\n```\r\n\r\nVerifying that python has urllib3 in both python2.* and 3.*:\r\n```\r\npython\r\nPython 2.7.11 (default, Dec 15 2015, 16:46:19) \r\n[GCC 4.8.4] on linux2\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n>>> import urllib3\r\n>>>\r\n```\r\n\r\n```\r\npython3\r\nPython 3.4.3 (default, Oct 14 2015, 20:28:29) \r\n[GCC 4.8.4] on linux\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n>>> import urllib3\r\n>>> \r\n\r\n```\r\n\r\nAny suggestions/ideas are appreciated."},"comment":{"url":"https://api.github.com/repos/letsencrypt/letsencrypt/issues/comments/169931486","html_url":"https://github.com/letsencrypt/letsencrypt/issues/2108#issuecomment-169931486","issue_url":"https://api.github.com/repos/letsencrypt/letsencrypt/issues/2108","id":169931486,"user":{"login":"pde","id":479213,"avatar_url":"https://avatars.githubusercontent.com/u/479213?v=3","gravatar_id":"","url":"https://api.github.com/users/pde","html_url":"https://github.com/pde","followers_url":"https://api.github.com/users/pde/followers","following_url":"https://api.github.com/users/pde/following{/other_user}","gists_url":"https://api.github.com/users/pde/gists{/gist_id}","starred_url":"https://api.github.com/users/pde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pde/subscriptions","organizations_url":"https://api.github.com/users/pde/orgs","repos_url":"https://api.github.com/users/pde/repos","events_url":"https://api.github.com/users/pde/events{/privacy}","received_events_url":"https://api.github.com/users/pde/received_events","type":"User","site_admin":false},"created_at":"2016-01-08T08:29:49Z","updated_at":"2016-01-08T08:29:49Z","body":"The copy of python in your the virtual environment (`~/.local/share/letsencrypt/bin/python`) has its own copies of various libraries, including a copy of `requests`.  `requests` bundles its own internal copy of `urllib3`.  But yours is missing for some reason.\r\n\r\n@kuba do you have any thoughts on this?"}}