I do not have any experience with LightTable, so I’ll let the experts answer this one :)
Did you try Sublime Text 3? I had no problems using it with this package: https://sublime.wbond.net/packages/IJulia. However, I ended up using a combination of Vim + Julia REPL + IJulia for my interactive needs. > On Dec 15, 2014, at 9:54 AM, Eric Forgy <[email protected]> wrote: > > Wow. Thank you João. IJulia seems to be working now. > > I've really been struggling all evening. After not being able to get IJulia > to work, I tried to install LightTable with Juno. After modifying > user.behaviors, I restart LT and get an error: "Couldn't connect to Julia". A > window pops up and Julia starts, but LT cannot connect to it. Any ideas? > Could that also be a bad environment variable? > > THEN, I tried to install Sublime Text 2. When I go to Preferences -> Browse > Packages... it crashes. > > Not a great start. Three IDEs not working. I'm sure it has more to do with my > inexperience than anything, but THANK YOU for at least letting me go home > with a glimmer of hope after seeing IJulia working :) > > > On Monday, December 15, 2014 10:13:08 PM UTC+8, João Felipe Santos wrote: > This is not a problem with IJulia, but with Anaconda Python on Mac > specifically. Try setting these environment variables before calling > notebook(): > > using IJulia > ENV[“LC_ALL”] = “en_US.UTF-8” > ENV[“LANG”] = “en_US.UTF-8” > notebook() > > I don’t know exactly the source of this issue and not everyone running > Yosemite has the same problem, but apparently you are not alone: > http://stackoverflow.com/questions/19961239/pelican-3-3-pelican-quickstart-error-valueerror-unknown-locale-utf-8 > > <http://stackoverflow.com/questions/19961239/pelican-3-3-pelican-quickstart-error-valueerror-unknown-locale-utf-8> > > Best, > João > >> On Dec 15, 2014, at 8:05 AM, Eric Forgy <[email protected] <javascript:>> >> wrote: >> >> Hi everyone, >> >> I am new to Julia (and Python for that matter) and, after watching some nice >> MIT lectures on YouTube, was inspired to try to install IJulia, but am >> having some difficulties. >> >> I'm on a MacBook Pro running OS X Yosemite (10.10.1). >> >> I tried to follow the instructions here: >> https://github.com/JuliaLang/IJulia.jl >> <https://github.com/JuliaLang/IJulia.jl> >> I did not have Python installed, so I downloaded and installed Anaconda and >> ran >> >> conda update ipython >> >> Everything seemed fine. If I run ipython from the command line, I get a >> command prompt and can enter "1+1" and get an output "2", which seems >> encouraging. >> >> Then I launch Julia and enter: >> >> julia> Pkg.add("IJulia") >> >> It seems ok. Then I enter: >> >> julia> using IJulia >> >> It seems ok. Then I enter: >> >> julia> notebook() >> >> I get a bunch of scary error messages (pasted below). >> >> I am pretty sure there is something very simple/embarrassing I'm missing. >> Any ideas? >> >> Thank you for any help. >> >> Best regards, >> Eric >> >> julia> notebook() >> >> Traceback (most recent call last): >> >> File "//anaconda/bin/ipython", line 6, in <module> >> >> sys.exit(start_ipython()) >> >> File "//anaconda/lib/python2.7/site-packages/IPython/__init__.py", line >> 120, in start_ipython >> >> return launch_new_instance(argv=argv, **kwargs) >> >> File >> "//anaconda/lib/python2.7/site-packages/IPython/config/application.py", line >> 563, in launch_instance >> >> app.initialize(argv) >> >> File "<string>", line 2, in initialize >> >> File >> "//anaconda/lib/python2.7/site-packages/IPython/config/application.py", line >> 92, in catch_config_error >> >> return method(app, *args, **kwargs) >> >> File "//anaconda/lib/python2.7/site-packages/IPython/terminal/ipapp.py", >> line 321, in initialize >> >> super(TerminalIPythonApp, self).initialize(argv) >> >> File "<string>", line 2, in initialize >> >> File >> "//anaconda/lib/python2.7/site-packages/IPython/config/application.py", line >> 92, in catch_config_error >> >> return method(app, *args, **kwargs) >> >> File "//anaconda/lib/python2.7/site-packages/IPython/core/application.py", >> line 381, in initialize >> >> self.parse_command_line(argv) >> >> File "//anaconda/lib/python2.7/site-packages/IPython/terminal/ipapp.py", >> line 316, in parse_command_line >> >> return super(TerminalIPythonApp, self).parse_command_line(argv) >> >> File "<string>", line 2, in parse_command_line >> >> File >> "//anaconda/lib/python2.7/site-packages/IPython/config/application.py", line >> 92, in catch_config_error >> >> return method(app, *args, **kwargs) >> >> File >> "//anaconda/lib/python2.7/site-packages/IPython/config/application.py", line >> 475, in parse_command_line >> >> return self.initialize_subcommand(subc, subargv) >> >> File "<string>", line 2, in initialize_subcommand >> >> File >> "//anaconda/lib/python2.7/site-packages/IPython/config/application.py", line >> 92, in catch_config_error >> >> return method(app, *args, **kwargs) >> >> File >> "//anaconda/lib/python2.7/site-packages/IPython/config/application.py", line >> 406, in initialize_subcommand >> >> subapp = import_item(subapp) >> >> File >> "//anaconda/lib/python2.7/site-packages/IPython/utils/importstring.py", line >> 42, in import_item >> >> module = __import__(package, fromlist=[obj]) >> >> File "//anaconda/lib/python2.7/site-packages/IPython/html/notebookapp.py", >> line 81, in <module> >> >> from IPython.consoleapp import IPythonConsoleApp >> >> File "//anaconda/lib/python2.7/site-packages/IPython/consoleapp.py", line >> 43, in <module> >> >> from IPython.kernel.zmq.kernelapp import ( >> >> File >> "//anaconda/lib/python2.7/site-packages/IPython/kernel/zmq/kernelapp.py", >> line 54, in <module> >> >> from .ipkernel import Kernel >> >> File >> "//anaconda/lib/python2.7/site-packages/IPython/kernel/zmq/ipkernel.py", >> line 40, in <module> >> >> from .zmqshell import ZMQInteractiveShell >> >> File >> "//anaconda/lib/python2.7/site-packages/IPython/kernel/zmq/zmqshell.py", >> line 36, in <module> >> >> from IPython.core.payloadpage import install_payload_page >> >> File "//anaconda/lib/python2.7/site-packages/IPython/core/payloadpage.py", >> line 24, in <module> >> >> from docutils.core import publish_string >> >> File "//anaconda/lib/python2.7/site-packages/docutils/core.py", line 20, >> in <module> >> >> from docutils import frontend, io, utils, readers, writers >> >> File "//anaconda/lib/python2.7/site-packages/docutils/frontend.py", line >> 41, in <module> >> >> import docutils.utils >> >> File "//anaconda/lib/python2.7/site-packages/docutils/utils/__init__.py", >> line 20, in <module> >> >> import docutils.io <http://docutils.io/> >> File "//anaconda/lib/python2.7/site-packages/docutils/io.py", line 18, in >> <module> >> >> from docutils.utils.error_reporting import locale_encoding, ErrorString, >> ErrorOutput >> >> File >> "//anaconda/lib/python2.7/site-packages/docutils/utils/error_reporting.py", >> line 47, in <module> >> >> locale_encoding = locale.getlocale()[1] or locale.getdefaultlocale()[1] >> >> File "//anaconda/lib/python2.7/locale.py", line 543, in getdefaultlocale >> >> return _parse_localename(localename) >> >> File "//anaconda/lib/python2.7/locale.py", line 475, in _parse_localename >> >> raise ValueError, 'unknown locale: %s' % localename >> >> ValueError: unknown locale: UTF-8 >> >> ERROR: failed process: Process(`ipython notebook --profile julia`, >> ProcessExited(1)) [1] >> >> in pipeline_error at process.jl:502 >> >> in notebook at /Users/ericforgy/.julia/v0.3/IJulia/src/IJulia.jl:177 >> >> in notebook at /Users/ericforgy/.julia/v0.3/IJulia/src/IJulia.jl:176 >> >> >> >
