You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
./mach build --dev fails with Pip failed to execute properly. which comes from l.135 in python/mach_bootstrap.py
This is due to: subprocess.check_call([pip, "install", "-q", "-r", req_path])
where pip contains the path to pip in the newly created virtual environment, but without escaped spaces.
To reproduce just try to set up rust in a folder which contains a space in its name.
I think the fix in #8394 (4ff8d3a) is not correct (meaning it does not help in any way) and in addition it breaks windows build for me. Does windows build work for anyone else from a clean checkout?
@zwn Can you open a new issue for that? This issue was (implicitly) about OSX/Linux, so if there's an issue with spaces in filepaths on Windows, we should probably create a new issue. You can just copy and paste what you just wrote into the body of the issue
Activity
Make virtualenv more tolerant of spaces in directory names
Auto merge of #8394 - frewsxcv:virtualenv-spaces, r=Manishearth
Auto merge of #8394 - frewsxcv:virtualenv-spaces, r=Manishearth
zbynekwinkler commentedon Apr 13, 2016
I think the fix in #8394 (4ff8d3a) is not correct (meaning it does not help in any way) and in addition it breaks windows build for me. Does windows build work for anyone else from a clean checkout?
Doing
creates a quoted path that is good for shell but not for
__file__. Insideactivate_this.pyit is used to adjust the PATH but it fails:Please note how the 'windows\path' gets embedded literately to make nonexisting path.
Also according to https://docs.python.org/2/library/subprocess.html#subprocess.check_call by default shell is not involved so shell quoting is not needed. The original problem must have been caused by something else.
frewsxcv commentedon Apr 14, 2016
@zwn Can you open a new issue for that? This issue was (implicitly) about OSX/Linux, so if there's an issue with spaces in filepaths on Windows, we should probably create a new issue. You can just copy and paste what you just wrote into the body of the issue
zbynekwinkler commentedon Apr 14, 2016
Done so in #10595.