{"action":"created","issue":{"url":"https://api.github.com/repos/certbot/certbot/issues/3474","repository_url":"https://api.github.com/repos/certbot/certbot","labels_url":"https://api.github.com/repos/certbot/certbot/issues/3474/labels{/name}","comments_url":"https://api.github.com/repos/certbot/certbot/issues/3474/comments","events_url":"https://api.github.com/repos/certbot/certbot/issues/3474/events","html_url":"https://github.com/certbot/certbot/issues/3474","id":174717906,"number":3474,"title":"Cannot create virtualenv with letsencrypt-auto","user":{"login":"Xarkam","id":331816,"avatar_url":"https://avatars.githubusercontent.com/u/331816?v=3","gravatar_id":"","url":"https://api.github.com/users/Xarkam","html_url":"https://github.com/Xarkam","followers_url":"https://api.github.com/users/Xarkam/followers","following_url":"https://api.github.com/users/Xarkam/following{/other_user}","gists_url":"https://api.github.com/users/Xarkam/gists{/gist_id}","starred_url":"https://api.github.com/users/Xarkam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xarkam/subscriptions","organizations_url":"https://api.github.com/users/Xarkam/orgs","repos_url":"https://api.github.com/users/Xarkam/repos","events_url":"https://api.github.com/users/Xarkam/events{/privacy}","received_events_url":"https://api.github.com/users/Xarkam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-02T09:29:32Z","updated_at":"2016-09-06T13:54:05Z","closed_at":null,"body":"Hi, \r\nI need info to fix this error for creating certificate\r\n```\r\nroot@intranet:/opt/letsencrypt# ./letsencrypt-auto --apache -d issues.mywebsite.com\r\nBootstrapping dependencies for Debian-based OSes...\r\nHit:1 http://archive.canonical.com/ubuntu xenial InRelease\r\nHit:2 http://archive.ubuntu.com/ubuntu xenial InRelease\r\nHit:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease\r\nGet:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]\r\nFetched 94.5 kB in 6s (14.5 kB/s)\r\nReading package lists... Done\r\nReading package lists... Done\r\nBuilding dependency tree\r\nReading state information... Done\r\naugeas-lenses is already the newest version (1.4.0-0ubuntu1).\r\nca-certificates is already the newest version (20160104ubuntu1).\r\ngcc is already the newest version (4:5.3.1-1ubuntu1).\r\nlibaugeas0 is already the newest version (1.4.0-0ubuntu1).\r\nlibffi-dev is already the newest version (3.2.1-4).\r\npython is already the newest version (2.7.11-1).\r\npython-dev is already the newest version (2.7.11-1).\r\ndialog is already the newest version (1.3-20160209-1).\r\npython-virtualenv is already the newest version (15.0.1+ds-3).\r\nlibssl-dev is already the newest version (1.0.2g-1ubuntu4.2).\r\nThe following packages were automatically installed and are no longer required:\r\n  python-pbr python-stevedore virtualenv-clone\r\nUse 'sudo apt autoremove' to remove them.\r\nThe following NEW packages will be installed:\r\n  virtualenv\r\n0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.\r\nNeed to get 0 B/4,342 B of archives.\r\nAfter this operation, 30.7 kB of additional disk space will be used.\r\nSelecting previously unselected package virtualenv.\r\n(Reading database ... 144350 files and directories currently installed.)\r\nPreparing to unpack .../virtualenv_15.0.1+ds-3_all.deb ...\r\nUnpacking virtualenv (15.0.1+ds-3) ...\r\nProcessing triggers for man-db (2.7.5-1) ...\r\nSetting up virtualenv (15.0.1+ds-3) ...\r\nTraceback (most recent call last):\r\n  File \"/tmp/tmp.SSdvkleKHJ/fetch.py\", line 20, in <module>\r\n    from urllib2 import build_opener, HTTPHandler, HTTPSHandler, HTTPError\r\nImportError: cannot import name HTTPSHandler\r\nWARNING: unable to check for updates.\r\nCreating virtual environment...\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python3/dist-packages/virtualenv.py\", line 2363, in <module>\r\n    main()\r\n  File \"/usr/lib/python3/dist-packages/virtualenv.py\", line 719, in main\r\n    symlink=options.symlink)\r\n  File \"/usr/lib/python3/dist-packages/virtualenv.py\", line 988, in create_environment\r\n    download=download,\r\n  File \"/usr/lib/python3/dist-packages/virtualenv.py\", line 918, in install_wheel\r\n    call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)\r\n  File \"/usr/lib/python3/dist-packages/virtualenv.py\", line 812, in call_subprocess\r\n    % (cmd_desc, proc.returncode))\r\nOSError: Command /root/.local/share/letsencrypt/bin/python2.7 - setuptools pkg_resources pip wheel failed with error code 1\r\n```\r\nAlternative python give me \r\n```\r\nroot@intranet:/opt/letsencrypt# /etc/alternatives/python\r\nPython 2.7.12 (default, Jul  1 2016, 15:12:24)\r\n[GCC 5.4.0 20160609] on linux2\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n```\r\n\r\nI dont understand the call of python3 to creating virtualenv.\r\nI suppose this is the problem.\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/certbot/certbot/issues/comments/244957122","html_url":"https://github.com/certbot/certbot/issues/3474#issuecomment-244957122","issue_url":"https://api.github.com/repos/certbot/certbot/issues/3474","id":244957122,"user":{"login":"erikrose","id":295816,"avatar_url":"https://avatars.githubusercontent.com/u/295816?v=3","gravatar_id":"","url":"https://api.github.com/users/erikrose","html_url":"https://github.com/erikrose","followers_url":"https://api.github.com/users/erikrose/followers","following_url":"https://api.github.com/users/erikrose/following{/other_user}","gists_url":"https://api.github.com/users/erikrose/gists{/gist_id}","starred_url":"https://api.github.com/users/erikrose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikrose/subscriptions","organizations_url":"https://api.github.com/users/erikrose/orgs","repos_url":"https://api.github.com/users/erikrose/repos","events_url":"https://api.github.com/users/erikrose/events{/privacy}","received_events_url":"https://api.github.com/users/erikrose/received_events","type":"User","site_admin":false},"created_at":"2016-09-06T13:54:05Z","updated_at":"2016-09-06T13:54:05Z","body":"certbot uses Python 2. It tries to find binaries with these names, in this order: python2.7, python27, python2, python. We don't even support Python 3 (yet)."}}
{"actor":{"display_login":"erikrose"}}