Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing via homebrew fails: Missing parentheses in call to 'print' #333

Open
mrichman opened this issue Mar 11, 2018 · 3 comments
Open

Comments

@mrichman
Copy link

brew install neovim-dot-app
==> Installing neovim-dot-app from rogual/neovim-dot-app
==> Installing dependencies for rogual/neovim-dot-app/neovim-dot-app: scons
==> Installing rogual/neovim-dot-app/neovim-dot-app dependency: scons
==> Downloading https://homebrew.bintray.com/bottles/scons-3.0.1.high_sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring scons-3.0.1.high_sierra.bottle.tar.gz
🍺  /usr/local/Cellar/scons/3.0.1: 211 files, 2.2MB
==> Installing rogual/neovim-dot-app/neovim-dot-app
==> Downloading https://github.com/rogual/neovim-dot-app/archive/0.1.5.tar.gz
==> Downloading from https://codeload.github.com/rogual/neovim-dot-app/tar.gz/0.1.5
######################################################################## 100.0%
==> make NVIM=/usr/local/opt/neovim/bin/nvim
Last 15 lines from /Users/mrichman/Library/Logs/Homebrew/neovim-dot-app/01.make:
2018-03-11 10:03:02 -0400

make
NVIM=/usr/local/opt/neovim/bin/nvim

VIM=/usr/local/Cellar/neovim/0.2.2_1/share/nvim NVIM=/usr/local/opt/neovim/bin/nvim scons -Q
  File "/private/tmp/neovim-dot-app-20180311-22954-fg5di0/neovim-dot-app-0.1.5/SConstruct", line 14

    print "Unable to execute pkg-config, you may have to set CFLAGS and LDFLAGS by hand."

                                                                                        ^

SyntaxError: Missing parentheses in call to 'print'. Did you mean print(int "Unable to execute pkg-config, you may have to set CFLAGS and LDFLAGS by hand.")?

make: *** [all] Error 2

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/rogual/homebrew-neovim-dot-app/issues

My Python is 3.6.4.

@towry
Copy link

towry commented May 26, 2018

Try Python2.

@brianm
Copy link

brianm commented Apr 15, 2019

How do you do this at just build time? This looks like scons is using python3, but expects python2.

@chrischen
Copy link

I've fixed this just by updating that one file (only like 3 changes needed). But is this project still maintained?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants