From b28628c3c08d5f6cdba94ab94b5c86c0c32bd2ca Mon Sep 17 00:00:00 2001 From: Stephan Kleinboelting Date: Wed, 28 Sep 2016 10:50:33 +0200 Subject: [PATCH] Fixed print syntax for Python3. --- deps/build.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/build.jl b/deps/build.jl index 12188f7..5723550 100644 --- a/deps/build.jl +++ b/deps/build.jl @@ -3,7 +3,7 @@ using Compat if isa(Pkg.installed("IJulia"), VersionNumber) using IJulia python = strip(readline(IJulia.jupyter), ['\n',' ', '#','!']) - ipywver = readstring(`$python -c 'import ipywidgets; print ipywidgets.__version__'`) |> strip |> VersionNumber + ipywver = readstring(`$python -c 'import ipywidgets; print(ipywidgets.__version__')`) |> strip |> VersionNumber info("ipywidgets version found: $ipywver") if ipywver < v"5.0.0" warn("""This version of Interact requires ipywidgets > 5.0 to work correctly.