Installing Python in a path that contains a blank

Stargaming stargaming at gmail.com
Mon May 21 15:11:38 EDT 2007


Konrad Hinsen schrieb:
> I am trying to install Python from sources in my home directory on a  
> Mac cluster (running MacOS X 10.4.8). The path to my home directory  
> contains a blank, and since the installation procedure insists on  
> getting an absolute path for the prefix, I cannot avoid installing to  a 
> path whose name contains a blank. Python does not seem to be  prepared 
> for this, as it uses only the part before the blank,  resulting in 
> numerous error messages.
> 
> Does anyone know a workaround?
> 
> Thanks,
>   Konrad.
> 

You could give /foo/bar\ baz/ham or "/foo/bar baz/ham" (either escaping 
the blanks or wrapping the path in quotation marks) a try. I can't 
verify it either, just guess from other terminals' behaviour.

HTH,
Stargaming



More information about the Python-list mailing list