using Interact.jl on windows

I just wanted to share something here in case another person with a Windows computer is trying to follow Steven Johnson’s IAP 2018 class. In lecture 2 they suggest you use the package Interact.jl. This package by default cannot build in Windows because “cannot determine jupyter’s python path in Windows.” You can hackily work around this by going into its build.jl, commenting out lines 11-16, and hard-coding in the path to your python. e.g. for me, I added python = "C:\\Users\\myusername\\.julia\\v0.6\\Conda\\deps\\usr\\python.exe".

I hope somebody finds this helpful.

Really surprised that it doesnt work ok windows. Should definitely report it on github as an issue

Had a similar hack on my machine, now a PR :wink: https://github.com/JuliaGizmos/Interact.jl/pull/200

1 Like