{"action":"opened","issue":{"url":"https://api.github.com/repos/sdispater/poetry/issues/626","repository_url":"https://api.github.com/repos/sdispater/poetry","labels_url":"https://api.github.com/repos/sdispater/poetry/issues/626/labels{/name}","comments_url":"https://api.github.com/repos/sdispater/poetry/issues/626/comments","events_url":"https://api.github.com/repos/sdispater/poetry/issues/626/events","html_url":"https://github.com/sdispater/poetry/issues/626","id":380976498,"node_id":"MDU6SXNzdWUzODA5NzY0OTg=","number":626,"title":"`poetry install` fails when path to virtualenv python has a space in it","user":{"login":"Ajedi32","id":1876931,"node_id":"MDQ6VXNlcjE4NzY5MzE=","avatar_url":"https://avatars0.githubusercontent.com/u/1876931?v=4","gravatar_id":"","url":"https://api.github.com/users/Ajedi32","html_url":"https://github.com/Ajedi32","followers_url":"https://api.github.com/users/Ajedi32/followers","following_url":"https://api.github.com/users/Ajedi32/following{/other_user}","gists_url":"https://api.github.com/users/Ajedi32/gists{/gist_id}","starred_url":"https://api.github.com/users/Ajedi32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ajedi32/subscriptions","organizations_url":"https://api.github.com/users/Ajedi32/orgs","repos_url":"https://api.github.com/users/Ajedi32/repos","events_url":"https://api.github.com/users/Ajedi32/events{/privacy}","received_events_url":"https://api.github.com/users/Ajedi32/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-15T02:48:58Z","updated_at":"2018-11-15T02:48:58Z","closed_at":null,"author_association":"NONE","body":"**OS version and name**: Windows 10\r\n**Poetry version**: v0.12.8\r\n\r\n**Steps to reproduce:**\r\n\r\nAs a Windows user with spaces in your home directory name, execute the following commands:\r\n\r\n```\r\nmkdir poetry-bug\r\ncd poetry-bug\r\npoetry init\r\npoetry install -vvv\r\n```\r\n\r\nOutput:\r\n\r\n```\r\n[EnvCommandError]\r\nCommand C:\\Users\\User Lastname\\AppData\\Local\\pypoetry\\Cache\\virtualenvs\\poetry-bug-py3.7\\Scripts\\python.exe -c \"import sys; print(    getattr(        sys,        'real_prefix',         getattr(sys, 'base_prefix', sys.prefix)    ))\" errored with the following output:\r\n'C:\\Users\\User' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n                                                                                                                                                                         \r\nException trace:\r\n C:\\Users\\User Lastname\\AppData\\Roaming\\Python\\Python37\\site-packages\\cleo\\application.py in run() at line 94\r\n   status_code = self.do_run(input_, output_)\r\n C:\\Users\\User Lastname\\AppData\\Roaming\\Python\\Python37\\site-packages\\poetry\\console\\application.py in do_run() at line 88\r\n   return super(Application, self).do_run(i, o)\r\n C:\\Users\\User Lastname\\AppData\\Roaming\\Python\\Python37\\site-packages\\cleo\\application.py in do_run() at line 197\r\n   status_code = command.run(input_, output_)\r\n C:\\Users\\User Lastname\\AppData\\Roaming\\Python\\Python37\\site-packages\\poetry\\console\\commands\\command.py in run() at line 77\r\n   return super(BaseCommand, self).run(i, o)\r\n C:\\Users\\User Lastname\\AppData\\Roaming\\Python\\Python37\\site-packages\\cleo\\commands\\base_command.py in run() at line 136\r\n   self.initialize(input_, output_)\r\n C:\\Users\\User Lastname\\AppData\\Roaming\\Python\\Python37\\site-packages\\poetry\\console\\commands\\env_command.py in initialize() at line 18\r\n   current_env = Env.get()\r\n C:\\Users\\User Lastname\\AppData\\Roaming\\Python\\Python37\\site-packages\\poetry\\utils\\env.py in get() at line 132\r\n   return VirtualEnv(venv)\r\n C:\\Users\\User Lastname\\AppData\\Roaming\\Python\\Python37\\site-packages\\poetry\\utils\\env.py in __init__() at line 388\r\n   shell=True,\r\n C:\\Users\\User Lastname\\AppData\\Roaming\\Python\\Python37\\site-packages\\poetry\\utils\\env.py in run() at line 470\r\n   return super(VirtualEnv, self).run(bin, *args, **kwargs)\r\n C:\\Users\\User Lastname\\AppData\\Roaming\\Python\\Python37\\site-packages\\poetry\\utils\\env.py in run() at line 288\r\n   raise EnvCommandError(e)\r\n\r\ninstall [--no-dev] [--dry-run] [-E|--extras EXTRAS] [--develop DEVELOP]\r\n```\r\n"}}
{"actor":{"display_login":"Ajedi32"}}