Git Product home page Git Product logo

Comments (17)

staticfloat avatar staticfloat commented on May 18, 2024

I am experiencing the same, investigating....

from ijulia.jl.

staticfloat avatar staticfloat commented on May 18, 2024

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.

wcbeard avatar wcbeard commented on May 18, 2024

Yeah, that was the problem. I guess something messed it up amidst the fixups and adds I was doing.

from ijulia.jl.

wcbeard avatar wcbeard commented on May 18, 2024

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.

staticfloat avatar staticfloat commented on May 18, 2024

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.

wcbeard avatar wcbeard commented on May 18, 2024

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.

staticfloat avatar staticfloat commented on May 18, 2024

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.

tcfuji avatar tcfuji commented on May 18, 2024

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.

stevengj avatar stevengj commented on May 18, 2024

@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.

tcfuji avatar tcfuji commented on May 18, 2024

@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.

tcfuji avatar tcfuji commented on May 18, 2024

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.

stevengj avatar stevengj commented on May 18, 2024

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.

tcfuji avatar tcfuji commented on May 18, 2024

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.

stevengj avatar stevengj commented on May 18, 2024

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.

tcfuji avatar tcfuji commented on May 18, 2024

@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.

stevengj avatar stevengj commented on May 18, 2024

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.

tcfuji avatar tcfuji commented on May 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.