user111937
user111937

Reputation: 19

Installation Error for IJulia

I was able to successfully install Julia on my OS and I wanted to also access IJulia. This is from a Julia version 0.5.0 terminal.

when I entered Pkg.add("IJulia") I received the following error:

INFO: Installing miniconda ...    
/Users/.../.julia/v0.5/Conda/deps/usr/installer.sh: line 1: syntax error near unexpected token `newline'
/Users/.../.julia/v0.5/Conda/deps/usr/installer.sh: line 1: `<html>' 

How do I mitigate this error? Is there another way to install a Julia Kernel on Jupyter?

Upvotes: 1

Views: 470

Answers (1)

nzw0301
nzw0301

Reputation: 399

I got the same error when Pkg.build("IJulia").

I can solve it to follow this instruction.

In my case, I installed anaconda3-4.1.1 via pyenv on OSX, so I typed some commands in console.


$ conda create -n conda_jl python
$ export CONDA_JL_HOME="/Users/MYNAME/.pyenv/versions/anaconda3-4.1.1/envs/conda_jl"
$ julia

julia> 'Pkg.build("Conda")'
julia> 'Pkg.build("IJulia")'

Upvotes: 1

Related Questions