Python Utilization Zython Python for the interpreter

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.

+4
source share
1 answer

, pip zsh.

, , , , "" - . brew link --overwrite

, , : pip/usr/local/opt/python/bin/python2.7: :

Homebrew?

, , .

0

All Articles