{"action":"created","issue":{"url":"https://api.github.com/repos/pypa/virtualenv/issues/745","repository_url":"https://api.github.com/repos/pypa/virtualenv","labels_url":"https://api.github.com/repos/pypa/virtualenv/issues/745/labels{/name}","comments_url":"https://api.github.com/repos/pypa/virtualenv/issues/745/comments","events_url":"https://api.github.com/repos/pypa/virtualenv/issues/745/events","html_url":"https://github.com/pypa/virtualenv/issues/745","id":68165498,"number":745,"title":"Attempting to create a virtualenv from a python3.5 instance","user":{"login":"rawrgulmuffins","id":1521575,"avatar_url":"https://avatars.githubusercontent.com/u/1521575?v=3","gravatar_id":"","url":"https://api.github.com/users/rawrgulmuffins","html_url":"https://github.com/rawrgulmuffins","followers_url":"https://api.github.com/users/rawrgulmuffins/followers","following_url":"https://api.github.com/users/rawrgulmuffins/following{/other_user}","gists_url":"https://api.github.com/users/rawrgulmuffins/gists{/gist_id}","starred_url":"https://api.github.com/users/rawrgulmuffins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rawrgulmuffins/subscriptions","organizations_url":"https://api.github.com/users/rawrgulmuffins/orgs","repos_url":"https://api.github.com/users/rawrgulmuffins/repos","events_url":"https://api.github.com/users/rawrgulmuffins/events{/privacy}","received_events_url":"https://api.github.com/users/rawrgulmuffins/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2015-04-13T18:43:46Z","updated_at":"2016-10-30T14:37:16Z","closed_at":null,"body":"On osx verison 10.10.2 I ran\n\n```\n$ hg clone https://hg.python.org/cpython\n$ cd cpython\n$ ./configure --with-pydebug && make -j2\n```\n\nAnd then attempted to build a virtual environment using\n\n```\n$ virtualenv --python=./python.exe ~/python3.5_virtualenv\nRunning virtualenv with interpreter ./python.exe\nUsing base prefix '/usr/local'\nTraceback (most recent call last):\n  File \"/Library/Python/2.7/site-packages/virtualenv.py\", line 2338, in <module>\n    main()\n  File \"/Library/Python/2.7/site-packages/virtualenv.py\", line 824, in main\n    symlink=options.symlink)\n  File \"/Library/Python/2.7/site-packages/virtualenv.py\", line 984, in create_environment\n    site_packages=site_packages, clear=clear, symlink=symlink))\n  File \"/Library/Python/2.7/site-packages/virtualenv.py\", line 1180, in install_python\n    copy_required_modules(home_dir, symlink)\n  File \"/Library/Python/2.7/site-packages/virtualenv.py\", line 1118, in copy_required_modules\n    dst_filename = change_prefix(filename, dst_prefix)\n  File \"/Library/Python/2.7/site-packages/virtualenv.py\", line 1083, in change_prefix\n    (filename, prefixes)\nAssertionError: Filename /Users/alexlord/mercurial/cpython/Lib/os.py does not start with any of these         prefixes: ['/Users/alexlord/Library/Python/3.5/lib/python/site-packages',        '/Users/alexlord/.local/lib/python/3.5/site-packages', '/Users/alexlord/Library/Python/3.5/site-packages', '/Library/Python/3.5/site-packages', '/usr/local/Extras/lib/python', '/usr/local', '/usr/local']\n```\n\nI expected the virtualenv to built properly but I understand that pulling from mercurial might not be a supported use-case.\n"},"comment":{"url":"https://api.github.com/repos/pypa/virtualenv/issues/comments/257154694","html_url":"https://github.com/pypa/virtualenv/issues/745#issuecomment-257154694","issue_url":"https://api.github.com/repos/pypa/virtualenv/issues/745","id":257154694,"user":{"login":"jaraco","id":308610,"avatar_url":"https://avatars.githubusercontent.com/u/308610?v=3","gravatar_id":"","url":"https://api.github.com/users/jaraco","html_url":"https://github.com/jaraco","followers_url":"https://api.github.com/users/jaraco/followers","following_url":"https://api.github.com/users/jaraco/following{/other_user}","gists_url":"https://api.github.com/users/jaraco/gists{/gist_id}","starred_url":"https://api.github.com/users/jaraco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaraco/subscriptions","organizations_url":"https://api.github.com/users/jaraco/orgs","repos_url":"https://api.github.com/users/jaraco/repos","events_url":"https://api.github.com/users/jaraco/events{/privacy}","received_events_url":"https://api.github.com/users/jaraco/received_events","type":"User","site_admin":false},"created_at":"2016-10-30T14:37:16Z","updated_at":"2016-10-30T14:37:16Z","body":"I believe this is a duplicate of #456."}}
{"actor":{"display_login":"jaraco"}}