{"action":"created","issue":{"url":"https://api.github.com/repos/pypa/virtualenv/issues/817","repository_url":"https://api.github.com/repos/pypa/virtualenv","labels_url":"https://api.github.com/repos/pypa/virtualenv/issues/817/labels{/name}","comments_url":"https://api.github.com/repos/pypa/virtualenv/issues/817/comments","events_url":"https://api.github.com/repos/pypa/virtualenv/issues/817/events","html_url":"https://github.com/pypa/virtualenv/issues/817","id":115608965,"number":817,"title":"Can't create 2.7 virtualenv from 3.5 Python install","user":{"login":"jpblair","id":10817512,"avatar_url":"https://avatars0.githubusercontent.com/u/10817512?v=3","gravatar_id":"","url":"https://api.github.com/users/jpblair","html_url":"https://github.com/jpblair","followers_url":"https://api.github.com/users/jpblair/followers","following_url":"https://api.github.com/users/jpblair/following{/other_user}","gists_url":"https://api.github.com/users/jpblair/gists{/gist_id}","starred_url":"https://api.github.com/users/jpblair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpblair/subscriptions","organizations_url":"https://api.github.com/users/jpblair/orgs","repos_url":"https://api.github.com/users/jpblair/repos","events_url":"https://api.github.com/users/jpblair/events{/privacy}","received_events_url":"https://api.github.com/users/jpblair/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2015-11-06T23:07:42Z","updated_at":"2017-04-11T20:20:40Z","closed_at":"2015-11-06T23:17:55Z","body":"After seeing some of the other issue reports on Windows installs, I did a fresh install of both 2.7 and 3.5, made sure both were 64-bit for consistency, and installed for all users.  I'm successfully able to create a 3.5 virtualenv, but am unable to create a 2.7 virtualenv with the following command:\n\n`virtualenv -p c:/python27/python.exe py2ve`\n\nI get the dreaded error:\n\n`File \"c:\\Users\\blairj1-v\\drydock\\lib\\os.py\", line 379`\n`yield from walk(new_path, topdown, onerror, followlinks)`\n`^`\n`SyntaxError: invalid syntax`\n`ERROR: The executable drydock\\Scripts\\python.exe is not functioning`\n`ERROR: It thinks sys.prefix is u'c:\\\\users\\\\blairj1-v' (should be u'c:\\\\users\\\\blairj1-v\\\\drydock')`\n`ERROR: virtualenv is not compatible with this system or executable`\n`Note: some Windows users have reported this error when they installed Python for \"Only this user\" or have multiple versions of Python installed. Copying the appropriate PythonXX.dll to the virtualenv\nScripts/ directory may fix this problem.`\n\nI have python27.dll in my `py2ve/Scripts` folder, but still nothing.  I know this is a common problem that is supposedly fixed, so apologies if this is just user error.  Thanks for your help.\n"},"comment":{"url":"https://api.github.com/repos/pypa/virtualenv/issues/comments/293388422","html_url":"https://github.com/pypa/virtualenv/issues/817#issuecomment-293388422","issue_url":"https://api.github.com/repos/pypa/virtualenv/issues/817","id":293388422,"user":{"login":"oladitan","id":920153,"avatar_url":"https://avatars3.githubusercontent.com/u/920153?v=3","gravatar_id":"","url":"https://api.github.com/users/oladitan","html_url":"https://github.com/oladitan","followers_url":"https://api.github.com/users/oladitan/followers","following_url":"https://api.github.com/users/oladitan/following{/other_user}","gists_url":"https://api.github.com/users/oladitan/gists{/gist_id}","starred_url":"https://api.github.com/users/oladitan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oladitan/subscriptions","organizations_url":"https://api.github.com/users/oladitan/orgs","repos_url":"https://api.github.com/users/oladitan/repos","events_url":"https://api.github.com/users/oladitan/events{/privacy}","received_events_url":"https://api.github.com/users/oladitan/received_events","type":"User","site_admin":false},"created_at":"2017-04-11T20:20:40Z","updated_at":"2017-04-11T20:20:40Z","body":"> usr@DESKTOP-#######MINGW64 ~/worldview (master)\r\n$ grunt\r\nRunning \"exec:python_packages\" (exec) task\r\n>> Traceback (most recent call last):\r\n>>   File \"C:\\Users\\usr\\worldview\\python\\lib\\site.py\", line 67, in <module>\r\n>>     import os\r\n>>   File \"C:\\Users\\usr\\worldview\\python\\lib\\os.py\", line 409\r\n>>     yield from walk(new_path, topdown, onerror, followlinks)\r\n>>              ^\r\n>> SyntaxError: invalid syntax\r\nOverwriting python\\lib\\orig-prefix.txt with new content\r\nNew python executable in python\\Scripts\\python.exe\r\nERROR: The executable python\\Scripts\\python.exe is not functioning\r\nERROR: It thinks sys.prefix is u'c:\\\\users\\\\usr\\\\worldview' (should be u'c:\\\\                                                                                                                                  users\\\\usr\\\\worldview\\\\python')\r\nERROR: virtualenv is not compatible with this system or executable\r\nNote: some Windows users have reported this error when they installed Python for                                                                                                                                   \"Only this user\" or have multiple versions of Python installed. Copying the app                                                                                                                                  ropriate PythonXX.dll to the virtualenv Scripts/ directory may fix this problem.\r\n>> Exited with code: 100.\r\nWarning: Task \"exec:python_packages\" failed. Use --force to continue.\r\n\r\nAborted due to warnings.\r\n"}}
{"actor":{"display_login":"oladitan"}}