Comments (17)
I am experiencing the same, investigating....
from ijulia.jl.
It looks like my IJulia
folder inside of ~/.julia
was missing, perhaps from Pkg.add()
removing it for some strange reason. Everything works for me after a Pkg.add("IJulia")
and Pkg.fixup()
.
from ijulia.jl.
Yeah, that was the problem. I guess something messed it up amidst the fixups and adds I was doing.
from ijulia.jl.
By the way, it's possible my Pkg.add("Homebrew")
command might have messed it up, but can't find my exact history.
from ijulia.jl.
Yes, I think that is possible. In general, whenever you Pkg.add("Homebrew")
, after that finishes you should re-try whatever you were trying to do before.
from ijulia.jl.
Also, is homebrew required whenever I install julia from homebrew? I don't remember seeing it on the IJulia readme, but I think it came up as a suggestion after some fixup that I did.
from ijulia.jl.
Yes, the Homebrew.jl package is separate from any Homebrew you happen to have installed on your system. We have designed it that way to keep user configurations as separate from the "known good" configuration we have setup in Homebrew.jl. Plus, that Homebrew is specially patched.
from ijulia.jl.
Hate to bring this up again but I am now getting a ERROR: Kernel did not respond
with Julia Version 0.3.0-prerelease+1978.
To complicate things, I tried to build IJulia for Julia Version 0.2 but the current version of Homebrew.jl (v0.0.5) will not build (ERROR: Git not defined
).
from ijulia.jl.
@TFGIT, can you file an issue with the Homebrew package about Homebrew failing to build?
What is the output of versioninfo()
on your machine?
Does Pkg.build("IJulia")
succeed?
from ijulia.jl.
@stevengj I notified Homebrew.jl.
Output of versioninfo()
:
Julia Version 0.3.0-prerelease+1978
Commit d45ed38* (2014-03-11 23:34 UTC)
Platform Info:
System: Darwin (x86_64-apple-darwin13.1.0)
CPU: Intel(R) Core(TM) i7-3615QM CPU @ 2.30GHz
WORD_SIZE: 64
BLAS: libopenblas (NO_AFFINITY)
LAPACK: libopenblas
LIBM: libopenlibm
Here is the output of Pkg.build("IJulia")
for Version 0.3.0-prerelease+1978:
julia> Pkg.build("IJulia")
INFO: Building Homebrew
HEAD is now at c588ffb Remove git rebasing code that slipped through
HEAD is now at b8b84ed Update hdf5 and szip
INFO: Building Nettle
INFO: Building ZMQ
INFO: Building IJulia
Found IPython version 1.2.1 ... ok.
Creating julia profile in IPython...
~/anaconda/lib/python2.7/site-packages/pygments/plugin.py:39:
UserWarning: Module argparse was already imported from ~/anaconda/python.app/Contents/lib/python2.7/argparse.pyc,
but ~/anaconda/lib/python2.7/site-packages is being added to sys.path
import pkg_resources
(Existing KernelManager.kernel_cmd setting in ipython_config.py is untouched.)
(Existing IPythonWidget.execute_on_complete_input setting in ipython_qtconsole_config.py is untouched.)
(Existing FrontendWidget.lexer_class setting in ipython_qtconsole_config.py is untouched.)
(Existing NotebookApp.port setting in ipython_notebook_config.py is untouched.)
(Existing ipynblogo.png file untouched.)
(Existing ipynblogo.svg file untouched.)
(Existing tooltip.js file untouched.)
(Existing custom.js file untouched.)
(Existing julia.js file untouched.)
Here is the output for Pkg.build("IJulia")
for Version 0.2:
julia> Pkg.build("IJulia")
INFO: Building Homebrew
==============================[ ERROR: Homebrew ]===============================
Git not defined
at ~/.julia/Homebrew/deps/build.jl:2
================================================================================
INFO: Building Nettle
INFO: Building ZMQ
INFO: Building IJulia
Found IPython version 1.1.0 ... ok.
Creating julia profile in IPython...
(Existing KernelManager.kernel_cmd setting in ipython_config.py is untouched.)
(Existing IPythonWidget.execute_on_complete_input setting in ipython_qtconsole_config.py is untouched.)
(Existing FrontendWidget.lexer_class setting in ipython_qtconsole_config.py is untouched.)
(Existing NotebookApp.port setting in ipython_notebook_config.py is untouched.)
(Existing ipynblogo.png file untouched.)
(Existing ipynblogo.svg file untouched.)
(Existing tooltip.js file untouched.)
(Existing custom.js file untouched.)
(Existing julia.js file untouched.)
================================[ BUILD ERRORS ]================================
WARNING: Homebrew had build errors.
- packages with build errors remain installed in ~/.julia
- build a package and all its dependencies with `Pkg.build(pkg)`
- build a single package by running its `deps/build.jl` script
===============================================================================
from ijulia.jl.
Just an update.
I was able to solve the Homebrew.jl problem (in a round-about way) but now I get the same ERROR: Kernel did not respond
on both versions.
from ijulia.jl.
Can you delete (or rename) your ~/.julia
and ~/.ipython
directories and try installing again from scratch, in case some problematic files were left over from your earlier attempts?
from ijulia.jl.
Deleted both directories twice for versions 0.2 and a recent bleeding-edge version (about 30 minutes ago). Used Pkg.add("IJulia")
both times. Got the same results.
from ijulia.jl.
Try julia ~/.julia/IJulia/src/kernel.jl
to launch the IJulia kernel manually. It will print out something like connect ipython with --existing XXXX.json
, and you can then try connecting IPython manually with e.g. ipython console --existing XXXX.json
from ijulia.jl.
@stevengj
Still does not work. Have you tried doing the same? If it matters, I'm using IPython version 1.2.1 from Anaconda and OS X Mavericks.
from ijulia.jl.
Last I checked, it worked fine for me on OSX 10.9 with Anaconda. I'll check again Monday to see if anything has changed, but I suspect it is something specific to your computer.
from ijulia.jl.
You're right. It started working after commenting out the following on my .bash_profile
:
DYLD_LIBRARY_PATH
DYLD_FALLBACK_LIBRARY_PATH
Thanks, and sorry for wasting your time.
from ijulia.jl.
Related Issues (20)
- Debug by cell option for IJulia HOT 1
- Cant connect to kernel after running jupterlab(detach=true)
- error with Julia 1.10 when loading packages that trigger precompilation HOT 5
- Notebook kernel startup/restart is slow
- Kernel exception: usage_request HOT 8
- copy() seems to behave as deepcopy() in IJulia notebook HOT 2
- No plot output from Plots with plotly() backend (incompatible with recent Jupyter Notebook Versions 7.0.0-7.06) HOT 6
- Support parsing of comma separated packages in `] add` HOT 1
- Latex maths not rendered in docstring if function signature is indented by four spaces HOT 2
- cannot build IJulia without disabling Julia's startup.jl HOT 5
- cannot display `body` field of `UnionAll` type in IJulia
- Autocomplete problem in output cell. HOT 4
- notebook() with no X server and elink HOT 1
- IJulia problem? HOT 1
- Can't choose the port from where to spawining the server with `IJulia.notebook` HOT 2
- Plots not showing up in the notebook, but in figure windows HOT 2
- IJulia is not precompiling in parallel on `using`? HOT 2
- "add IJulia" with a juliaup-installed Julia 1.9.4 and 1.10.2 do not install Julia kernel specs for Jupyter HOT 1
- Displaying markdown code blocks routinely drops trailing parenthesis HOT 3
- julia Current stable release: v1.10.3 (April 30, 2024) kernel fails to connect in IJulia jupyter HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ijulia.jl.