panoptes icon indicating copy to clipboard operation
panoptes copied to clipboard

can't build on a path containing spaces

Open leehart opened this issue 10 years ago • 1 comments

Could enquote paths in the build and run scripts, but then we'd still get "bad interpreter: No such file or directory" when build.sh attempts to use pip in virtual env.

leehart avatar Jan 04 '16 12:01 leehart

https://github.com/pypa/virtualenv/issues/53

http://stackoverflow.com/questions/15472430/using-virtualenv-with-spaces-in-a-path

https://github.com/pypa/pip/issues/923

https://lists.gnu.org/archive/html/bug-bash/2008-05/msg00052.html

AlexeyMK's comment on https://github.com/pypa/pip/issues/923 gives me hope that we might actually be able to work around this intractable issue (without forbidding spaces in path names) by using something like this in the build script:

python panoptes_virtualenv/bin/pip install -q -r REQUIREMENTS

instead of

pip install -q -r REQUIREMENTS

...but I suspect this kernel-deep limitation will keep on biting.

leehart avatar Jun 30 '16 12:06 leehart