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