-
-
Notifications
You must be signed in to change notification settings - Fork 408
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
Support for IPython 4.0 #340
Comments
Have you tried to reinstall IJulia? I'm under the impression that we've already dropped the support for ipython profile and switched fully to use the kernel spec on the master. |
Hmm, I just installed it earlier, I can try to remove and install again. I noticed I got it to work when I change the command being run in the notebook function in IJulia.jl to: run( Of course, I first had to move over the config settings from the profile_julia folder in .ipython to jupyter_notebook_config.py in .jupyter. |
Just do I should probably go ahead an pull the trigger on tagging this, so that you don't need (I'm mainly worried about Ubuntu users, since the latest Ubuntu is still on IPython 2.x.) |
See #325 |
Using the master branch (via Pkg.checkout) didn't seem to work. When I initialize IJulia (running "using IJulia"), it outputs a warning saying: That said, I am able to call "notebook()", and this starts IPython notebook. However, using version 4.0, it does not seem to read any of the kernels (including the Julia one) from .ipython/kernels. The only one that appears is for my version of Python. Any ideas? Thanks! Edit: strangly enough, when I set the port (running ipython notebook --port=8998) to 8998 if I run from teh command line, the Julia kernel shows up in the drop down (upper right of the ipython page). I'm re-installing ipython right now to see if perhaps there is an issue there. |
What is the output of |
Here is the output: julia> Pkg.build("IJulia") Note, this is a Win 7 machine. Thanks! |
And after running that, the Julia kernel still does not show up in |
Only if I add this line to the jupyter_notebook_config.py: However, I still get the Method errors from Julia, as it is complaining about the srand method in init in IJulia.jl. So when I call notebook, and then attempt to open a notebook using Julia, attempts to reach the kernel time out and I see additional Method errors like I see when I initialize IJulia (calling "using IJulia"). |
@pazzo83, the old port for IJulia was 8998 (to be distinct from IPython), so you're probably just going to the wrong URL out of habit in your browser. The default port for Jupyter is 8888, so you should be going to Regarding the method errors, it could be that the latest IJulia |
Understood, if I remove that override (for the port) and have it default to 8888, then only "Python" shows up as an available notebook, and not "Julia". Quite strange, could be an issue on my end. |
@pazzo83, maybe you are running another IPython/Jupyter process already. |
Thanks for all your help! Got it working running 0.4-dev (a version from July 28th). Probably an IPython thing, but the 0.3.11 Julia version was still showing up in the drop down from the main page, even though I've long since deleted that kernel (I basically removed the .ipython folder entirely before I checked out the IJulia master branch, then let it rebuild it running Pkg.build("IJulia")). Anyways, that strange srand error is now gone as well. Thanks!! |
I will be pushing an update to Compat soon that will fix the |
Okay, with Compat 0.6 it should work again with Julia 0.3. |
I recently installed version 4.0 of IPython, where a full switch to Jupyter for the notebook app was made. Consequently, any of the notebook profiles (like julia) that were installed are not recognized now. Do you have any suggestions as to how I can get IJulia to work with IPython 4.0/Jupyter?
Thanks!
The text was updated successfully, but these errors were encountered: