{"action":"created","issue":{"url":"https://api.github.com/repos/pypa/virtualenv/issues/790","labels_url":"https://api.github.com/repos/pypa/virtualenv/issues/790/labels{/name}","comments_url":"https://api.github.com/repos/pypa/virtualenv/issues/790/comments","events_url":"https://api.github.com/repos/pypa/virtualenv/issues/790/events","html_url":"https://github.com/pypa/virtualenv/issues/790","id":103693579,"number":790,"title":"virtualenv-1.13.2 fails to create a virtual environment with pypy-2.6.0","user":{"login":"erosennin","id":1583484,"avatar_url":"https://avatars.githubusercontent.com/u/1583484?v=3","gravatar_id":"","url":"https://api.github.com/users/erosennin","html_url":"https://github.com/erosennin","followers_url":"https://api.github.com/users/erosennin/followers","following_url":"https://api.github.com/users/erosennin/following{/other_user}","gists_url":"https://api.github.com/users/erosennin/gists{/gist_id}","starred_url":"https://api.github.com/users/erosennin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erosennin/subscriptions","organizations_url":"https://api.github.com/users/erosennin/orgs","repos_url":"https://api.github.com/users/erosennin/repos","events_url":"https://api.github.com/users/erosennin/events{/privacy}","received_events_url":"https://api.github.com/users/erosennin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-08-28T10:32:05Z","updated_at":"2015-11-20T13:39:07Z","closed_at":null,"body":"```\r\n$ virtualenv -p pypy /tmp/testenv\r\nRunning virtualenv with interpreter /usr/bin/pypy\r\nNew pypy executable in /tmp/testenv/bin/pypy\r\nPlease make sure you remove any previous custom paths from your /home/and/.pydistutils.cfg file.\r\nInstalling setuptools, pip, wheel...\r\n  Complete output from command /tmp/testenv/bin/pypy -c \"import sys, pip; sys...d\\\"] + sys.argv[1:]))\" setuptools pip wheel:\r\n  Ignoring indexes: https://pypi.python.org/simple\r\nCollecting setuptools\r\nCollecting pip\r\nCollecting wheel\r\nInstalling collected packages: setuptools, pip, wheel\r\nException:\r\nTraceback (most recent call last):\r\n  File \"/usr/lib64/python2.7/site-packages/virtualenv_support/pip-7.1.2-py2.py3-none-any.whl/pip/basecommand.py\", line 211, in main\r\n    status = self.run(options, args)\r\n  File \"/usr/lib64/python2.7/site-packages/virtualenv_support/pip-7.1.2-py2.py3-none-any.whl/pip/commands/install.py\", line 311, in run\r\n    root=options.root_path,\r\n  File \"/usr/lib64/python2.7/site-packages/virtualenv_support/pip-7.1.2-py2.py3-none-any.whl/pip/req/req_set.py\", line 646, in install\r\n    **kwargs\r\n  File \"/usr/lib64/python2.7/site-packages/virtualenv_support/pip-7.1.2-py2.py3-none-any.whl/pip/req/req_install.py\", line 803, in install\r\n    self.move_wheel_files(self.source_dir, root=root)\r\n  File \"/usr/lib64/python2.7/site-packages/virtualenv_support/pip-7.1.2-py2.py3-none-any.whl/pip/req/req_install.py\", line 998, in move_wheel_files\r\n    isolated=self.isolated,\r\n  File \"/usr/lib64/python2.7/site-packages/virtualenv_support/pip-7.1.2-py2.py3-none-any.whl/pip/wheel.py\", line 465, in move_wheel_files\r\n    generated.extend(maker.make(spec))\r\n  File \"/usr/lib64/python2.7/site-packages/virtualenv_support/pip-7.1.2-py2.py3-none-any.whl/pip/_vendor/distlib/scripts.py\", line 353, in make\r\n    self._make_script(entry, filenames, options=options)\r\n  File \"/usr/lib64/python2.7/site-packages/virtualenv_support/pip-7.1.2-py2.py3-none-any.whl/pip/_vendor/distlib/scripts.py\", line 257, in _make_script\r\n    self._write_script(scriptnames, shebang, script, filenames, ext)\r\n  File \"/usr/lib64/python2.7/site-packages/virtualenv_support/pip-7.1.2-py2.py3-none-any.whl/pip/_vendor/distlib/scripts.py\", line 231, in _write_script\r\n    self._fileop.write_binary_file(outname, script_bytes)\r\n  File \"/usr/lib64/python2.7/site-packages/virtualenv_support/pip-7.1.2-py2.py3-none-any.whl/pip/_vendor/distlib/util.py\", line 388, in write_binary_file\r\n    with open(path, 'wb') as f:\r\nIOError: [Errno 13] Permission denied: '/usr/bin/easy_install'\r\n----------------------------------------\r\n...Installing setuptools, pip, wheel...done.\r\nTraceback (most recent call last):\r\n  File \"<builtin>/app_main.py\", line 75, in run_toplevel\r\n  File \"/usr/lib64/python2.7/site-packages/virtualenv.py\", line 2363, in <module>\r\n    main()\r\n  File \"/usr/lib64/python2.7/site-packages/virtualenv.py\", line 832, in main\r\n    symlink=options.symlink)\r\n  File \"/usr/lib64/python2.7/site-packages/virtualenv.py\", line 1004, in create_environment\r\n    install_wheel(to_install, py_executable, search_dirs)\r\n  File \"/usr/lib64/python2.7/site-packages/virtualenv.py\", line 969, in install_wheel\r\n    'PIP_NO_INDEX': '1'\r\n  File \"/usr/lib64/python2.7/site-packages/virtualenv.py\", line 910, in call_subprocess\r\n    % (cmd_desc, proc.returncode))\r\nOSError: Command /tmp/testenv/bin/pypy -c \"import sys, pip; sys...d\\\"] + sys.argv[1:]))\" setuptools pip wheel failed with error code 2\r\n```"},"comment":{"url":"https://api.github.com/repos/pypa/virtualenv/issues/comments/158405364","html_url":"https://github.com/pypa/virtualenv/issues/790#issuecomment-158405364","issue_url":"https://api.github.com/repos/pypa/virtualenv/issues/790","id":158405364,"user":{"login":"KenetJervet","id":1560189,"avatar_url":"https://avatars.githubusercontent.com/u/1560189?v=3","gravatar_id":"","url":"https://api.github.com/users/KenetJervet","html_url":"https://github.com/KenetJervet","followers_url":"https://api.github.com/users/KenetJervet/followers","following_url":"https://api.github.com/users/KenetJervet/following{/other_user}","gists_url":"https://api.github.com/users/KenetJervet/gists{/gist_id}","starred_url":"https://api.github.com/users/KenetJervet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KenetJervet/subscriptions","organizations_url":"https://api.github.com/users/KenetJervet/orgs","repos_url":"https://api.github.com/users/KenetJervet/repos","events_url":"https://api.github.com/users/KenetJervet/events{/privacy}","received_events_url":"https://api.github.com/users/KenetJervet/received_events","type":"User","site_admin":false},"created_at":"2015-11-20T13:39:07Z","updated_at":"2015-11-20T13:39:07Z","body":"@ramnes myeah that's what someone told me on IRC also. Thanks for your help!"}}