I run python (installed via homebrew), zsh (using oh-my-zsh), and I am having problems truncating the path in scripts.
Here is one example of a problem with starting pelican (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 interpreter path in:
/ usr / local / bin / pelican
to check the path. In this 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 anyone experienced this problem? If so, what is the resolution?
If I could not specify the necessary debugging context, I will gladly do it.
user284244
source
share