Closed vasili111 closed 9 years ago
Please try the newest download (posted 20 min ago). Sorry about that, and thanks for the report.
Thank you for fast response. I completely uninstall Julia and after installed it again. Then I tried to install IJulia but getting errors:
julia> Pkg.add("IJulia") INFO: Initializing package repository C:\Users\admin.julia\v0.3 INFO: Cloning METADATA from git://github.com/JuliaLang/METADATA.jl INFO: Cloning cache of BinDeps from git://github.com/JuliaLang/BinDeps.jl.git INFO: Cloning cache of HTTPClient from git://github.com/amitmurthy/HTTPClient.jl .git INFO: Cloning cache of IJulia from git://github.com/JuliaLang/IJulia.jl.git INFO: Cloning cache of JSON from git://github.com/JuliaLang/JSON.jl.git INFO: Cloning cache of LibCURL from git://github.com/amitmurthy/LibCURL.jl.git INFO: Cloning cache of LibExpat from git://github.com/amitmurthy/LibExpat.jl.git
INFO: Cloning cache of Nettle from git://github.com/staticfloat/Nettle.jl.git INFO: Cloning cache of REPLCompletions from git://github.com/Keno/REPLCompletion s.jl.git INFO: Cloning cache of URIParser from git://github.com/Keno/URIParser.jl.git INFO: Cloning cache of URLParse from git://github.com/tanmaykm/URLParse.jl.git INFO: Cloning cache of WinRPM from git://github.com/JuliaLang/WinRPM.jl.git INFO: Cloning cache of ZMQ from git://github.com/JuliaLang/ZMQ.jl.git INFO: Cloning cache of Zlib from git://github.com/dcjones/Zlib.jl.git INFO: Installing BinDeps v0.2.14 INFO: Installing HTTPClient v0.1.4 INFO: Installing IJulia v0.1.12 INFO: Installing JSON v0.3.7 INFO: Installing LibCURL v0.1.3 INFO: Installing LibExpat v0.0.4 INFO: Installing Nettle v0.1.4 INFO: Installing REPLCompletions v0.0.1 INFO: Installing URIParser v0.0.2 INFO: Installing URLParse v0.0.0 INFO: Installing WinRPM v0.1.1 INFO: Installing ZMQ v0.1.12 INFO: Installing Zlib v0.1.7 INFO: Building WinRPM WARNING: skipping repodata/repomd.xml, not in cache -- call WinRPM.update() to d ownload WARNING: skipping repodata/repomd.xml, not in cache -- call WinRPM.update() to d ownload INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win3 2/openSUSE_Factory//repodata/repomd.xml ===============================[ ERROR: WinRPM ]================================
error compiling xp_parse: error compiling xp_make_parser: could not load module libexpat-1: %1 is not a valid Win32 application.
while loading C:\Users\admin.julia\v0.3\WinRPM\deps\build.jl, in expression sta rting on line 2
INFO: Building LibCURL INFO: Updating WinRPM package list INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win3 2/openSUSE_Factory//repodata/repomd.xml ===============================[ ERROR: LibCURL ]===============================
error compiling xp_parse: error compiling xp_make_parser: could not load module libexpat-1: %1 is not a valid Win32 application.
while loading C:\Users\admin.julia\v0.3\LibCURL\deps\build.jl, in expression st arting on line 13
INFO: Building Nettle INFO: Updating WinRPM package list INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win3 2/openSUSE_Factory//repodata/repomd.xml ===============================[ ERROR: Nettle ]================================
error compiling xp_parse: error compiling xp_make_parser: could not load module libexpat-1: %1 is not a valid Win32 application.
while loading C:\Users\admin.julia\v0.3\Nettle\deps\build.jl, in expression sta rting on line 35
INFO: Building ZMQ INFO: Attempting to Create directory C:\Users\admin.julia\v0.3\ZMQ\deps\downloa ds INFO: Downloading file http://s3.amazonaws.com/julialang/bin/winnt/extras/libzmq -3.3-x64.zip % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 100k 100 100k 0 0 68797 0 0:00:01 0:00:01 --:--:-- 68797 INFO: Done downloading file http://s3.amazonaws.com/julialang/bin/winnt/extras/l ibzmq-3.3-x64.zip INFO: Attempting to Create directory C:\Users\admin.julia\v0.3\ZMQ INFO: Directory C:\Users\admin.julia\v0.3\ZMQ already created INFO: Attempting to Create directory C:\Users\admin.julia\v0.3\ZMQ\deps\usr
7-Zip 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
Processing archive: C:\Users\admin.julia\v0.3\ZMQ\deps\downloads\libzmq-3.3-x64 .zip
Extracting usr Extracting usr\lib Extracting usr\lib\libzmq.dll
Everything is Ok
Folders: 2 Files: 1 Size: 242688 Compressed: 103196 INFO: Building IJulia Found IPython version 2.1.0 ... ok. Creating julia profile in IPython... [ProfileCreate] Generating default config file: u'C:\Users\admin.ipython\pr ofile_julia\ipython_config.py' [ProfileCreate] Generating default config file: u'C:\Users\admin.ipython\pr ofile_julia\ipython_qtconsole_config.py' [ProfileCreate] Generating default config file: u'C:\Users\admin.ipython\pr ofile_julia\ipython_notebook_config.py' [ProfileCreate] Generating default config file: u'C:\Users\admin.ipython\pr ofile_julia\ipython_nbconvert_config.py' Adding KernelManager.kernel_cmd = ["C:\Users\admin\AppData\Local\Julia-0.3. 0-rc1\bin\julia.exe", "-F", "C:\Users\admin.julia\v0.3\IJulia\src\kern el.jl", "{connection_file}"] to ipython_config.py... Adding IPythonWidget.execute_on_complete_input = False to ipython_qtconsole_conf ig.py... Adding FrontendWidget.lexer_class = 'pygments.lexers.JuliaLexer' to ipython_qtco nsole_config.py... Adding NotebookApp.port = 8998 to ipython_notebook_config.py... Copying ijulialogo.png to Julia IPython profile. Copying ijulialogo.svg to Julia IPython profile. Copying ijuliafavicon.ico to Julia IPython profile. Copying custom.js to Julia IPython profile. Copying julia.js to Julia IPython profile.
================================[ BUILD ERRORS ]================================
WARNING: WinRPM, LibCURL and Nettle had build errors.
Pkg.build(pkg)
deps/build.jl
scriptINFO: Package database updated
julia> ipython notebook --profile julia ERROR: syntax: extra token "notebook" after end of expression
julia>
Would you mind to try removing/renaming your C:\Users\admin.julia\v0.3
and then run Pkg.add("IJulia")
again?
I deleted c:\Users\admin.julia\ and after tried to install IJulia. I am getting errors:
julia> Pkg.add("IJulia") INFO: Initializing package repository C:\Users\admin.julia\v0.3 INFO: Cloning METADATA from git://github.com/JuliaLang/METADATA.jl INFO: Cloning cache of BinDeps from git://github.com/JuliaLang/BinDeps.jl.git INFO: Cloning cache of HTTPClient from git://github.com/amitmurthy/HTTPClient.jl .git INFO: Cloning cache of IJulia from git://github.com/JuliaLang/IJulia.jl.git INFO: Cloning cache of JSON from git://github.com/JuliaLang/JSON.jl.git INFO: Cloning cache of LibCURL from git://github.com/amitmurthy/LibCURL.jl.git INFO: Cloning cache of LibExpat from git://github.com/amitmurthy/LibExpat.jl.git
INFO: Cloning cache of Nettle from git://github.com/staticfloat/Nettle.jl.git INFO: Cloning cache of REPLCompletions from git://github.com/Keno/REPLCompletion s.jl.git INFO: Cloning cache of URIParser from git://github.com/Keno/URIParser.jl.git INFO: Cloning cache of URLParse from git://github.com/tanmaykm/URLParse.jl.git INFO: Cloning cache of WinRPM from git://github.com/JuliaLang/WinRPM.jl.git INFO: Cloning cache of ZMQ from git://github.com/JuliaLang/ZMQ.jl.git INFO: Cloning cache of Zlib from git://github.com/dcjones/Zlib.jl.git INFO: Installing BinDeps v0.2.14 INFO: Installing HTTPClient v0.1.4 INFO: Installing IJulia v0.1.12 INFO: Installing JSON v0.3.7 INFO: Installing LibCURL v0.1.3 INFO: Installing LibExpat v0.0.4 INFO: Installing Nettle v0.1.4 INFO: Installing REPLCompletions v0.0.1 INFO: Installing URIParser v0.0.2 INFO: Installing URLParse v0.0.0 INFO: Installing WinRPM v0.1.1 INFO: Installing ZMQ v0.1.12 INFO: Installing Zlib v0.1.7 INFO: Building WinRPM WARNING: skipping repodata/repomd.xml, not in cache -- call WinRPM.update() to d ownload WARNING: skipping repodata/repomd.xml, not in cache -- call WinRPM.update() to d ownload INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win3 2/openSUSE_Factory//repodata/repomd.xml ===============================[ ERROR: WinRPM ]================================
error compiling xp_parse: error compiling xp_make_parser: could not load module libexpat-1: %1 is not a valid Win32 application.
while loading C:\Users\admin.julia\v0.3\WinRPM\deps\build.jl, in expression sta rting on line 2
INFO: Building LibCURL INFO: Updating WinRPM package list INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win3 2/openSUSE_Factory//repodata/repomd.xml ===============================[ ERROR: LibCURL ]===============================
error compiling xp_parse: error compiling xp_make_parser: could not load module libexpat-1: %1 is not a valid Win32 application.
while loading C:\Users\admin.julia\v0.3\LibCURL\deps\build.jl, in expression st arting on line 13
INFO: Building Nettle INFO: Updating WinRPM package list INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win3 2/openSUSE_Factory//repodata/repomd.xml ===============================[ ERROR: Nettle ]================================
error compiling xp_parse: error compiling xp_make_parser: could not load module libexpat-1: %1 is not a valid Win32 application.
while loading C:\Users\admin.julia\v0.3\Nettle\deps\build.jl, in expression sta rting on line 35
INFO: Building ZMQ INFO: Attempting to Create directory C:\Users\admin.julia\v0.3\ZMQ\deps\downloa ds INFO: Downloading file http://s3.amazonaws.com/julialang/bin/winnt/extras/libzmq -3.3-x64.zip % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 100k 100 100k 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k INFO: Done downloading file http://s3.amazonaws.com/julialang/bin/winnt/extras/l ibzmq-3.3-x64.zip INFO: Attempting to Create directory C:\Users\admin.julia\v0.3\ZMQ INFO: Directory C:\Users\admin.julia\v0.3\ZMQ already created INFO: Attempting to Create directory C:\Users\admin.julia\v0.3\ZMQ\deps\usr
7-Zip 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
Processing archive: C:\Users\admin.julia\v0.3\ZMQ\deps\downloads\libzmq-3.3-x64 .zip
Extracting usr Extracting usr\lib Extracting usr\lib\libzmq.dll
Everything is Ok
Folders: 2 Files: 1 Size: 242688 Compressed: 103196 INFO: Building IJulia Found IPython version 2.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_c onfig.py is untouched.) (Existing FrontendWidget.lexer_class setting in ipython_qtconsole_config.py is u ntouched.) (Existing NotebookApp.port setting in ipython_notebook_config.py is untouched.) (Existing ipynblogo.png file untouched.) (Existing ipynblogo.svg file untouched.) (Existing favicon.ico file untouched.) (Existing custom.js file untouched.) (Existing julia.js file untouched.)
================================[ BUILD ERRORS ]================================
WARNING: WinRPM, LibCURL and Nettle had build errors.
Pkg.build(pkg)
deps/build.jl
scriptINFO: Package database updated
julia> ipython notebook --profile julia ERROR: syntax: extra token "notebook" after end of expression
julia>
I did a clean Julia install using julia-0.3.0-rc1-d303568-win64.exe
and do not see these errors when building IJulia. (however, I did see the errors with version 0480f1b). Please make sure you are on that version d303568-win64 (see also julia> versioninfo()
).
If you are on the most recent build, then please check to make sure there is no other version of libexpat-1.dll
in your PATH
.
I was using version 0480f1b . I thought you meen to download new IJulia, not Julia. Sorry for that. Now I am using d303568-win64. As you see below I had only to warnings saying that I have to run WinRPM.update() and I did it. But after that when I am trying to run IJulia I am getting some errors:
julia> Pkg.status() INFO: Initializing package repository C:\Users\admin.julia\v0.3 INFO: Cloning METADATA from git://github.com/JuliaLang/METADATA.jl No packages installed
julia> Pkg.add("IJulia") INFO: Cloning cache of BinDeps from git://github.com/JuliaLang/BinDeps.jl.git INFO: Cloning cache of HTTPClient from git://github.com/amitmurthy/HTTPClient.jl .git INFO: Cloning cache of IJulia from git://github.com/JuliaLang/IJulia.jl.git INFO: Cloning cache of JSON from git://github.com/JuliaLang/JSON.jl.git INFO: Cloning cache of LibCURL from git://github.com/amitmurthy/LibCURL.jl.git INFO: Cloning cache of LibExpat from git://github.com/amitmurthy/LibExpat.jl.git
INFO: Cloning cache of Nettle from git://github.com/staticfloat/Nettle.jl.git INFO: Cloning cache of REPLCompletions from git://github.com/Keno/REPLCompletion s.jl.git INFO: Cloning cache of URIParser from git://github.com/Keno/URIParser.jl.git INFO: Cloning cache of URLParse from git://github.com/tanmaykm/URLParse.jl.git INFO: Cloning cache of WinRPM from git://github.com/JuliaLang/WinRPM.jl.git INFO: Cloning cache of ZMQ from git://github.com/JuliaLang/ZMQ.jl.git INFO: Cloning cache of Zlib from git://github.com/dcjones/Zlib.jl.git INFO: Installing BinDeps v0.2.14 INFO: Installing HTTPClient v0.1.4 INFO: Installing IJulia v0.1.12 INFO: Installing JSON v0.3.7 INFO: Installing LibCURL v0.1.3 INFO: Installing LibExpat v0.0.4 INFO: Installing Nettle v0.1.4 INFO: Installing REPLCompletions v0.0.1 INFO: Installing URIParser v0.0.2 INFO: Installing URLParse v0.0.0 INFO: Installing WinRPM v0.1.1 INFO: Installing ZMQ v0.1.12 INFO: Installing Zlib v0.1.7 INFO: Building WinRPM WARNING: skipping repodata/repomd.xml, not in cache -- call WinRPM.update() to d ownload WARNING: skipping repodata/repomd.xml, not in cache -- call WinRPM.update() to d ownload INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win3 2/openSUSE_Factory//repodata/repomd.xml INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win3 2/openSUSE_Factory//repodata/1f7bfd90dad92662ef94d936643d07cd1e1068dca78c2fd23fc 5775c5e2b95ab-primary.xml.gz INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win6 4/openSUSE_Factory//repodata/repomd.xml INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win6 4/openSUSE_Factory//repodata/a53650adc36d558befcad3313ecb45962795785a3116f03a672 db4e1d792a25e-primary.xml.gz INFO: Building LibCURL INFO: Updating WinRPM package list INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win3 2/openSUSE_Factory//repodata/repomd.xml INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win6 4/openSUSE_Factory//repodata/repomd.xml INFO: Packages to install: libgpg-error-lang, libgcc, libgpg-error, libidn-lang, libgcrypt, libsqlite3-0, libintl, libssh2, mozilla-nss, libidn, zlib, mozilla-n spr, libcurl INFO: Downloading: libgpg-error-lang INFO: Extracting: libgpg-error-lang INFO: Downloading: libgcc INFO: Extracting: libgcc INFO: Downloading: libgpg-error INFO: Extracting: libgpg-error INFO: Downloading: libidn-lang INFO: Extracting: libidn-lang INFO: Downloading: libgcrypt INFO: Extracting: libgcrypt INFO: Downloading: libsqlite3-0 INFO: Extracting: libsqlite3-0 INFO: Downloading: libintl INFO: Extracting: libintl INFO: Downloading: libssh2 INFO: Extracting: libssh2 INFO: Downloading: mozilla-nss INFO: Extracting: mozilla-nss INFO: Downloading: libidn INFO: Extracting: libidn INFO: Downloading: zlib INFO: Extracting: zlib INFO: Downloading: mozilla-nspr INFO: Extracting: mozilla-nspr INFO: Downloading: libcurl INFO: Extracting: libcurl INFO: Complete INFO: Building Nettle INFO: Packages to install: libnettle INFO: Downloading: libnettle INFO: Extracting: libnettle INFO: Complete INFO: Building ZMQ INFO: Attempting to Create directory C:\Users\admin.julia\v0.3\ZMQ\deps\downloa ds INFO: Downloading file http://s3.amazonaws.com/julialang/bin/winnt/extras/libzmq -3.3-x64.zip % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 100k 100 100k 0 0 179k 0 --:--:-- --:--:-- --:--:-- 179k INFO: Done downloading file http://s3.amazonaws.com/julialang/bin/winnt/extras/l ibzmq-3.3-x64.zip INFO: Attempting to Create directory C:\Users\admin.julia\v0.3\ZMQ INFO: Directory C:\Users\admin.julia\v0.3\ZMQ already created INFO: Attempting to Create directory C:\Users\admin.julia\v0.3\ZMQ\deps\usr
7-Zip [64] 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
Processing archive: C:\Users\admin.julia\v0.3\ZMQ\deps\downloads\libzmq-3.3-x64 .zip
Extracting usr Extracting usr\lib Extracting usr\lib\libzmq.dll
Everything is Ok
Folders: 2 Files: 1 Size: 242688 Compressed: 103196 INFO: Building IJulia Found IPython version 2.1.0 ... ok. Creating julia profile in IPython... [ProfileCreate] Generating default config file: u'C:\Users\admin.ipython\pr ofile_julia\ipython_config.py' [ProfileCreate] Generating default config file: u'C:\Users\admin.ipython\pr ofile_julia\ipython_qtconsole_config.py' [ProfileCreate] Generating default config file: u'C:\Users\admin.ipython\pr ofile_julia\ipython_notebook_config.py' [ProfileCreate] Generating default config file: u'C:\Users\admin.ipython\pr ofile_julia\ipython_nbconvert_config.py' Adding KernelManager.kernel_cmd = ["C:\Users\admin\AppData\Local\Julia-0.3. 0-rc1\bin\julia.exe", "-F", "C:\Users\admin.julia\v0.3\IJulia\src\kern el.jl", "{connection_file}"] to ipython_config.py... Adding IPythonWidget.execute_on_complete_input = False to ipython_qtconsole_conf ig.py... Adding FrontendWidget.lexer_class = 'pygments.lexers.JuliaLexer' to ipython_qtco nsole_config.py... Adding NotebookApp.port = 8998 to ipython_notebook_config.py... Copying ijulialogo.png to Julia IPython profile. Copying ijulialogo.svg to Julia IPython profile. Copying ijuliafavicon.ico to Julia IPython profile. Copying custom.js to Julia IPython profile. Copying julia.js to Julia IPython profile. INFO: Package database updated
julia> WinRPM.update() INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win3 2/openSUSE_Factory//repodata/repomd.xml INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win6 4/openSUSE_Factory//repodata/repomd.xml
julia> versioninfo() Julia Version 0.3.0-rc1+55 Commit d303568 (2014-07-17 06:52 UTC) Platform Info: System: Windows (x86_64-w64-mingw32) CPU: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz WORD_SIZE: 64 BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge) LAPACK: libopenblas LIBM: libopenlibm
julia> Pkg.status() 1 required packages:
julia> ipython notebook --profile julia ERROR: syntax: extra token "notebook" after end of expression
julia> ipython notebook --profile julia ERROR: syntax: extra token "notebook" after end of expression
julia> ipython qtconsole --profile julia ERROR: syntax: extra token "qtconsole" after end of expression
julia> ipython console --profile julia ERROR: syntax: extra token "console" after end of expression
julia>
Ok, that's better - the install looks fine now!
The IPython startup commands are shell scripts/executables, not Julia commands, so they need to be run from the Windows cmd
prompt or Julia's shell>
.
In Julia you can type ;
to get a shell prompt.
shell> ipython notebook --profile=julia
or in cmd
:
C:\> ipython notebook --profile=julia
I recently added a feature (328ab6a877a255f5ac81529415f7b2a1bc1ed31b) where you can just do
using IJulia
notebook()
in Julia, so you can avoid the Windows command prompt.
I haven't had a chance to document it (partly because I haven't tested it much), but you can try it out to see if it makes life easier on Windows.
"ipython notebook --profile=julia" and "ipython notebook --profile julia" (without quotation marks) launches IJulia. Thank you for help.
I also tested "using IJulia" and after "notebook()" (without quotation marks) but I am getting errors:
julia> using IJulia Warning: could not import Base.ref into ZMQ connect ipython with --existing C:\Users\admin\AppData\Local\Julia-0.3.0-rc1/pro file-3504.json
julia> notebook() ERROR: notebook not defined
julia>
Until @stevengj tags a new version you can do Pkg.checkout("IJulia")
I just fixed the deprecated ref
in ZMQ, so we should probably tag a new version of that. https://github.com/JuliaLang/ZMQ.jl/commit/8f1eddbfa8a044513776953d702efb6b9c122beb
Tried to use "Pkg.checkout("IJulia")" but get Error:
julia> versioninfo() Julia Version 0.3.0-rc1+55 Commit d303568 (2014-07-17 06:52 UTC) Platform Info: System: Windows (x86_64-w64-mingw32) CPU: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz WORD_SIZE: 64 BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge) LAPACK: libopenblas LIBM: libopenlibm
julia> Pkg.status() No packages installed
julia> Pkg.checkout("IJulia") ERROR: IJulia is not a git repo in checkout at pkg/entry.jl:190
julia>
@vasili111 that's weird... IJulia should be listed under Pkg.installed
. Restart Julia?
@ihnorton Thank you. I thought that I need to uninstall and only after then use Pkg.checkout("IJulia")
. Sorry. I corrected that. Now IJulia is launching after using IJulia
and notebook()
. I did not tested IJulia yet but there is one warning message, which I thought may be interesting for developers:
julia> Pkg.status()
1 required packages:
- IJulia 0.1.12
12 additional packages:
- BinDeps 0.2.14
- HTTPClient 0.1.4
- JSON 0.3.7
- LibCURL 0.1.3
- LibExpat 0.0.4
- Nettle 0.1.4
- REPLCompletions 0.0.1
- URIParser 0.0.2
- URLParse 0.0.0
- WinRPM 0.1.1
- ZMQ 0.1.12
- Zlib 0.1.7
julia> Pkg.checkout("IJulia")
INFO: Checking out IJulia master...
INFO: Pulling IJulia latest master...
INFO: No packages to install, update or remove
julia> using IJulia
Warning: could not import Base.ref into ZMQ
julia> notebook()
2014-07-18 07:39:05.444 [NotebookApp] Using existing profile dir: u'C:\\Users\\a
dmin\\.ipython\\profile_julia'
2014-07-18 07:39:05.453 [NotebookApp] Using MathJax from CDN: http://cdn.mathjax
.org/mathjax/latest/MathJax.js
2014-07-18 07:39:05.470 [NotebookApp] Serving notebooks from local directory: C:
\Users\admin\AppData\Local\Julia-0.3.0-rc1
2014-07-18 07:39:05.470 [NotebookApp] 0 active kernels
2014-07-18 07:39:05.470 [NotebookApp] The IPython Notebook is running at: http:/
/localhost:8998/
2014-07-18 07:39:05.470 [NotebookApp] Use Control-C to stop this server and shut
down all kernels (twice to skip confirmation).
The warning message should be fixed with the latest ZMQ, I think.
@ihnorton shell> ipython notebook --profile=julia worked for me
Nowadays (with IPython 3) it should just be ipython notebook
; no need for the profile.
Sounds like this issue can be closed.
I have this issue WARNING: Nettle and ZMQ had build errors.
Pkg.build("Nettle", "ZMQ")
deps/build.jl
scriptwindows x64 latest julia and jupyter downloaded maybe yesterday
WARNING: Unknown download failure, error code: 2148270088 WARNING: Retry 1/5 downloading: https://cache.e.ip.saba.us/http://download.opens use.org/repositories/windows:/mingw:/win32/openSUSE_13.1/repodata/0e8bebadadf423 d314868c33de0766daf460167b5f2033ace800054c6d2de46c-primary.xml.gz WARNING: Unknown download failure, error code: 2148270088 WARNING: Retry 2/5 downloading: https://cache.e.ip.saba.us/http://download.opens use.org/repositories/windows:/mingw:/win32/openSUSE_13.1/repodata/0e8bebadadf423 d314868c33de0766daf460167b5f2033ace800054c6d2de46c-primary.xml.gz WARNING: Unknown download failure, error code: 2148270088 WARNING: Retry 3/5 downloading: https://cache.e.ip.saba.us/http://download.opens use.org/repositories/windows:/mingw:/win32/openSUSE_13.1/repodata/0e8bebadadf423 d314868c33de0766daf460167b5f2033ace800054c6d2de46c-primary.xml.gz WARNING: Unknown download failure, error code: 2148270088 WARNING: Retry 4/5 downloading: https://cache.e.ip.saba.us/http://download.opens use.org/repositories/windows:/mingw:/win32/openSUSE_13.1/repodata/0e8bebadadf423 d314868c33de0766daf460167b5f2033ace800054c6d2de46c-primary.xml.gz WARNING: Unknown download failure, error code: 2148270088 WARNING: Retry 5/5 downloading: https://cache.e.ip.saba.us/http://download.opens use.org/repositories/windows:/mingw:/win32/openSUSE_13.1/repodata/0e8bebadadf423 d314868c33de0766daf460167b5f2033ace800054c6d2de46c-primary.xml.gz WARNING: received error 0 while downloading https://cache.e.ip.saba.us/http://do wnload.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_13.1/repodata/0e 8bebadadf423d314868c33de0766daf460167b5f2033ace800054c6d2de46c-primary.xml.gz
@NikolaMandic, please (a) file separate issues when your problem is different than that of the original issue and (b) file issues with the appropriate package (c) file issues with the appropriate packages (if your problem is building Nettle, file an issue with nettle) and (d) check to be sure it is not a firewall issue (try downloading from those URLs manually — they might be blocked by some firewall you are behind).
I Use Windows x64, Anaconda-2.0.1-Windows-x86_64, julia-0.3.0-rc1-0480f1b-win64. When installing IJulia, I run Julia as administrator. I am getting errors when trying to install IJulia:
julia> Pkg.add("IJulia") INFO: Installing BinDeps v0.2.14 INFO: Installing HTTPClient v0.1.4 INFO: Installing IJulia v0.1.12 INFO: Installing JSON v0.3.7 INFO: Installing LibCURL v0.1.3 INFO: Installing LibExpat v0.0.4 INFO: Installing Nettle v0.1.4 INFO: Installing REPLCompletions v0.0.1 INFO: Installing URIParser v0.0.2 INFO: Installing URLParse v0.0.0 INFO: Installing WinRPM v0.1.1 INFO: Installing ZMQ v0.1.12 INFO: Installing Zlib v0.1.7 INFO: Building WinRPM Warning: error initializing module WinRPM: ErrorException() INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win3 2/openSUSE_Factory//repodata/repomd.xml ===============================[ ERROR: WinRPM ]================================
error compiling xp_parse: error compiling xp_make_parser: could not load module libexpat-1: %1 is not a valid Win32 application.
while loading C:\Users\admin.julia\v0.3\WinRPM\deps\build.jl, in expression sta rting on line 2
INFO: Building LibCURL INFO: Updating WinRPM package list INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win3 2/openSUSE_Factory//repodata/repomd.xml ===============================[ ERROR: LibCURL ]===============================
error compiling xp_parse: error compiling xp_make_parser: could not load module libexpat-1: %1 is not a valid Win32 application.
while loading C:\Users\admin.julia\v0.3\LibCURL\deps\build.jl, in expression st arting on line 13
INFO: Building Nettle INFO: Updating WinRPM package list INFO: Downloading http://download.opensuse.org/repositories/windows:/mingw:/win3 2/openSUSE_Factory//repodata/repomd.xml ===============================[ ERROR: Nettle ]================================
error compiling xp_parse: error compiling xp_make_parser: could not load module libexpat-1: %1 is not a valid Win32 application.
while loading C:\Users\admin.julia\v0.3\Nettle\deps\build.jl, in expression sta rting on line 35
INFO: Building ZMQ INFO: Building IJulia Found IPython version 2.1.0 ... ok. Creating julia profile in IPython... Changing KernelManager.kernel_cmd to ["C:\Users\admin\AppData\Local\Julia-0 .3.0-rc1\bin\julia.exe", "-F", "C:\Users\admin.julia\v0.3\IJulia\src\k ernel.jl", "{connection_file}"] in ipython_config.py... (Existing IPythonWidget.execute_on_complete_input setting in ipython_qtconsole_c onfig.py is untouched.) (Existing FrontendWidget.lexer_class setting in ipython_qtconsole_config.py is u ntouched.) (Existing NotebookApp.port setting in ipython_notebook_config.py is untouched.) (Existing ipynblogo.png file untouched.) (Existing ipynblogo.svg file untouched.) (Existing favicon.ico file untouched.) (Existing custom.js file untouched.) (Existing julia.js file untouched.)
================================[ BUILD ERRORS ]================================
WARNING: WinRPM, LibCURL and Nettle had build errors.
Pkg.build(pkg)
deps/build.jl
scriptINFO: Package database updated
julia> ipython notebook --profile julia ERROR: syntax: extra token "notebook" after end of expression
julia>