Homebrew Python ZSH truncation of interpreter path

Viewed 485

I am running python (installed through homebrew), zsh (using oh-my-zsh), and am running into issues with path truncation in scripts.

Here is one instance of the problem running pelican (a python static site generator):

pelican -s pelicanconf.py content -o output 
zsh: /usr/local/bin/pelican: bad interpreter: /usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Ver: no such file or directory

Naturally, I check the path of the interpreter in:

/usr/local/bin/pelican

to verify the path. In that file the interpreter path is specified as:

#!/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python

Has anybody experienced this issue? If so, any resolution?

If I have failed to specify necessary debug context I will happily do so.

1 Answers
Related